Skip to main content

Software  >  WebSphere  >  WebSphere Portal Family  >  

How do you remove the "New Page" option for Privileged Users?

 Technote (FAQ)
 
Question
How do you remove the "New Page" option for Privileged Users?
 
Cause
You want some of your users to be able to edit the page layout for several pages, so you cannot assign those users only the User role for those pages. However, you do not want those users to be able to create new sub-pages from those pages.
 
Answer

To remove the "New Page" option for only Privileged Users, but leave it as a valid option for Administrators, find the following comment in the pageContextMenu.jsp in your theme:

<%-- New page --%>
<portal-internal:adminlinkinfo name=
"PROPERTIES_PORTLET"><portal-navigation:urlGeneration contentNode="<%=
wpsContentNode%>"
layoutNode='<%= wpsCompositionNode %>'
portletWindowState="Solo"
accessControlCheck="CreatePage"

and change the last line above to be:

accessControlCheck="EditPageProperties"

Save the file, and then touch default.jsp and the files in pageContextMenu.jsp's hierarchy. If you do not have JSP reloading enabled, then restart Portal.

Note: removing the entire section from the pageContextMenu.jsp would remove the "New Page" option for all users.

 
 
 

Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.
This material provides me with the information I need.




This material is clear and easy to understand.




Did the information help you to achieve your goal?
What updates, improvements, or related information would you like to see in this document?
Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.
Input the verification number to submit feedback:
Document information
 Product categories:
 Software
 Organizational Productivity, Portals & Collaboration
 Portals
 WebSphere Portal
 Security
 Operating system(s):
  AIX, HP-UX, Linux, Solaris, Windows, i5/OS, z/OS
 Software version:
  6.1
 Software edition:
  Enable, Express, Extend, Server
 Reference #:
  1407349
 IBM Group:
 Software Group
 Modified date:
 2009-11-03

Translate My Page
 
 

Rate this page

Help us improve this page. Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.