Sunday, April 6, 2014

How to hide Tab Menus from certain users and prevent users from creating their own tabs

Individual Users:
User tabs are saved under the user's account information. Therefore, if the user does not have write access to his/her own user account, then he/she cannot make changes to the tabs the System Administrator has assigned.

All Users:
The Tab Menu can be removed from Cognos Connection by making changes to the portal stylesheet.
Steps: To remove the Tab Menu for individual users

Cognos 8.2

  1. Login as Administrator.
  2. Go to Tools => Directory and browse to the user's account.
  3. Click Set Properties.
  4. Under General, click make me owner.
  5. Click the Permissions tab. Under permissions, click the user and select Deny for write and set policy.                  Click Apply.
 6. Login as this user and verify that the Tab Menu is no longer available.

Cognos 8.3
 1. Login as Administrator.
 2. Go to Launch => Cognos Administrator => Security and browse to the user's account.
 3. Click Set Properties.
 4. Under General, click make me owner.
 5. Click the Permissions tab. Under permissions, click the user and select Deny for write and set policy.  Click Apply.
 6. Login as this user and verify that the Tab Menu is no longer available

Note: Since the user does not have write access to their account, they cannot change their preferences.

To remove the Tab Menu for all users

 1) Browse to <c8>/webcontent/skins
 2) For each skin, edit <c8>/webcontent/skins/<skin name>/portal/default.css. Add the following lines:

#tabscontroldiv {
display: none;
}
To re-enable the Tab Menu, remove this line from each default.css file. This change does not require a service restart, but may not take effect until a user's browser cache is emptied.

If any user wishes to access the Tab Menu, it must be re-enabled for all users. This can be done just for a single skin though (e.g. if the user is running with the "corporate" skin, edit just <c8>/webcontent/skins/corporate/portal/default.css).

No comments:

Post a Comment