Antoine Grinn [
https://community.jboss.org/people/grinn78] created the discussion
"JBoss : create custom roles"
To view the discussion, visit:
https://community.jboss.org/message/804604#804604
--------------------------------------------------------------
Hi,
I am working on a JBoss portal containing several pages.
These pages and the user having acces to these pages are define in the
"...-object.xml" (using the <portal> => <page> =>
<security-constraint> => <policy-permission> => <role-name>)
Now I would like to modify this, in order for an administrateur to create a custom role
from the application, without modifying the code and its xml.
So instead of defining which role has access to each page in the
"....-object.xml", I would like to define it in my database.
I saw that I can set the <role-name> to <unchecked/> so every role has access
to the page, but how can I then write in the code the differences of interface between
users right and view?
Do you know if it is possible to hide/show different pages (so tabs, inside the
application) depending on the database data of the user using JBoss?
Thank you,
Grinn
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/804604#804604]
Start a new discussion in JBoss Portal Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]