[jboss-user] [JBoss Portal Development] - How to add a new protected page under the default portal

Tong Su do-not-reply at jboss.com
Fri Mar 19 18:38:54 EDT 2010


Tong Su [http://community.jboss.org/people/suto] created the discussion

"How to add a new protected page under the default portal"

To view the discussion, visit: http://community.jboss.org/message/533092#533092

--------------------------------------------------------------
I am having trouble adding a new page to the default portal. I am using portal 2.72 with Jboss 4.2.3

My goal is very simple: I have a new role, say myRole1, and wanted to add a page just visible to users in myRole1 under the default portal.
Here are the steps  :
1. create myrole1 and myrole2
2. go to admin tab, click on the security link for the default portal. Change permission from 'view recursive' for 'role unchecked' to 'view' for 'myRole1', 'myRole2' and 'admin'.
3. click on the default portal link to drill down, add a new page under it and then click on the seurity link for the page and select 'view recursive' for 'myRole1'

The first problem i faced after logging back in as any user is that even the default portal was not accessible to me anymore.
So i had to change the security at the default portal level from 'View' to 'view recursive' for admin myRole1 and myRole2. But this is different from when i read in page 186 in the reference guide  http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/pdf/Reference_Guide_en-US.pdf http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/pdf/Reference_Guide_en-US.pdf

Now i am able to get into the default portal after logging in as myRole1 or myRole2. But the problem is the page is visible to user in both roles. Don't know what I missing in setting up the security.

Please Help!

Thanks.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/533092#533092]

Start a new discussion in JBoss Portal Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2014]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100319/f5149de6/attachment.html 


More information about the jboss-user mailing list