+

Search Tips   |   Advanced Search

Resource permissions example


We can add a link to the Resource Permissions portlet from a theme menu to see or modify additional role types or inherited access.

The Portal 8.0 theme contains an Assign Page Permissions entry in the More menu. This entry opens a dialog where we can assign explicit View or Edit roles to the current page.

This dialog does not have the functionality to see or modify additional role types or inherited access. To view these more advanced cases, use the Resource Permissions portlet under...

We can add a convenient link to this portlet from a theme menu with the following steps: .

  1. Connect the WebDAV client, to

      http://host:port/wps/mycontenthandler/dav/fs-type1

    .

  2. Go to \themes\YourCustomTheme\menuDefinitions and open the menu file to which to add the new permissions entry. By default, the pageAction.json file corresponds to the Actions menu and moreActions.json file to the More menu.

  3. Add this menu entry to the JSON array:
    {
       "type":"DynamicMenuitem", 
       "id":"ibm.portal.operations.assignPagePermissions", 
       "titles": [
          {
             "value":"Assign Page Permissions", "lang":"en"
          }
       ]
    }
    


Parent: Menu framework