Jump to content
We've recently updated our Privacy Statement, available here ×

JS behaviour for a user with multiple roles


Gaby38

Recommended Posts

Hello,

What is the behaviour of jasperserver for a user which has multiple roles. In particular, what does JS if I have defined a home page for ROLE_ONE and another home page for ROLE_TWO and the user belongs to both roles?

What are also the rules for rights on html files execution which are inside the file "applicationContext-security.xml"?

Thanks for explanations to come

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Nobody has encountered this interrogation?

In my case, I have defined specific roles to which I mapped specific home pages. But if I add the role "ROLE_USER" for instance to a user which has always a specific role, then the home page becomes the "standard" repository tree of the user role.

So I think that some roles are "privilegied".

Has anybody an idea about that metaphysic question?

Link to comment
Share on other sites

I am not an expert in this area, but I can point you to where you need to look. You need to configure Acegi (aka Spring Security), specifically the Voter Logic. Do a search for "acegi voter" or "accessdecisionmanager" to get started.

 

I have used this article in the past to help me set up LDAP. There's a brief section on voter logic:

 

 

Configuring the access decision manager

The accessDecisionManager decides whether a user is allowed to access a resource. Acegi provides a number of access decision managers, which vary in how they make access control decisions.

http://www.ibm.com/developerworks/java/library/j-acegi2/

HTH

Mary

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...