- 
        1. Re: i want to disable pagepeterj Nov 7, 2008 11:56 AM (in response to nagendra42)See this discussion: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98753 
 and this one: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115712
- 
        2. Re: i want to disable pagenagendra42 Nov 10, 2008 12:10 AM (in response to nagendra42)Thanks peterj 
 it working but page tab is not getting disable. I am sending my *-object.xml code. This google page tab is display for all user who dont have admin righ. But open only for admin right. My requirement is that I want display goolge page tab on browser only for those user who have admin right.
 <?xml version="1.0" encoding="UTF-8"?>
 <if-exists>overwrite</if-exists>
 <parent-ref>default</parent-ref>
 <page-name>Google</page-name>
 <window-name>HelloWorldJSPPortletWindow</window-name>
 <instance-ref>HelloWorldJSPPortletInstance</instance-ref>
 center
 1
 theme.renderSetId
 emptyRenderer
 layout.id
 industrial
 <security-constraint>
 <policy-permission>
 <role-name>Admin</role-name>
 <action-name>view</action-name>
 </policy-permission>
 </security-constraint>
- 
        3. Re: i want to disable pagepeterj Nov 10, 2008 12:04 PM (in response to nagendra42)Which version of JBoss Portal are you using? My experiences with 2.4.x and 2.6.x are that if the page has restricted access, then the tab shows up only for users who have access rights. 
 Also, when posting XML, remember to enclose your XML text in UBBCode "code" tags - you can do this by selecting the XML text and clicking the Code button above the editor window. Also, click the Preview button to ensure that the formatting is correct and the XML text shows up before posting
- 
        4. Re: i want to disable pagenagendra42 Nov 11, 2008 12:19 AM (in response to nagendra42)Hi Peter, 
 i am using jboss-portal-2.6.6.GA .
 Again i am sending portlet-instances.xml and helloworld-object.xml please tell me what is wrong with my code.
 portlet-instances.xml<?xml version="1.0" standalone="yes"?> <deployments> <deployment> <instance> <instance-id>HelloWorldJSPPortletInstance</instance-id> <portlet-ref>HelloWorldJSPPortlet</portlet-ref> <security-constraint> <policy-permission> <action-name>view</action-name> <role-name>Admin</role-name> </policy-permission> </security-constraint> </instance> </deployment> </deployments> 
 helloworld-object.xml<?xml version="1.0" encoding="UTF-8"?> <deployments> <deployment> <if-exists>overwrite</if-exists> <parent-ref>default</parent-ref> <page> <page-name>Google</page-name> <window> <window-name>HelloWorldJSPPortletWindow</window-name> <instance-ref>HelloWorldJSPPortletInstance</instance-ref> <region>center</region> <height>1</height> <properties> <property> <name>theme.renderSetId</name> <value>emptyRenderer</value> </property> </properties> </window> <properties> <property> <name>layout.id</name> <value>industrial</value> </property> </properties> <security-constraint> <policy-permission> <role-name>Admin</role-name> <action-name>view</action-name> </policy-permission> </security-constraint> </page> </deployment> </deployments> 
 
- 
        5. Re: i want to disable pagepeterj Nov 12, 2008 1:35 PM (in response to nagendra42)Two things to check: 
 1: make sure that the portal does not have a recursive access permission set.
 2: Try dropping all the tables from the database, this will eliminate any old configuration settings.
- 
        6. Re: i want to disable pagenagendra42 Nov 14, 2008 6:27 AM (in response to nagendra42)i did 2 suggestion but page tab still displaying. how can i check that portal have recursive access permission or not. "PeterJ" wrote: 
 Two things to check:
 1: make sure that the portal does not have a recursive access permission set.
 2: Try dropping all the tables from the database, this will eliminate any old configuration settings.
- 
        7. Re: i want to disable pagepeterj Nov 14, 2008 10:23 AM (in response to nagendra42)Use the Admin portal to look at the security settings. The docs should tell you how. 
 
    