Some users are unable to configure the Favorites menu. When attempting to configure the menu by clicking on the Configure link, the following error is thrown:
Error 401 - Unauthorized. You are not authorized to view the page. If you are sure you have access, try logging in again or contact your system administrator.
Release: All Clarity Releases
This can be caused by a known Clarity PPM issue in earlier versions:
CLRT-66180 - XOG: when we xog in resources first, then users, the users don't get the Users Favorites Menu - Edit' right
Fixed in Version 13.2 and any left over records can be fixed using the below workaround
Steps to fix the issue:
This script can also be used for users that have not been created by XOG for which Favorites menu is not opening at all when scrolling over or giving error 401. The root cause for the issue will be different.
If you need to only correct one user please modify the select condition before step 3. in order to include the specific user. Example:
This part:
select s.user_id from prj_resources r, srm_resources s, cmn_sec_users u where r.prid = s.id and s.user_id = u.id and s.is_active=1 and u.user_status_id = 200 order by s.user_id;
can be modified to:
select s.user_id from prj_resources r, srm_resources s, cmn_sec_users u where r.prid = s.id and s.user_id = u.id and s.is_active=1 and u.user_status_id = 200 and s.unique_name='{indicate here the resource username}' order by s.user_id
The above will include only the specific user, provided that the resource is active.
If you need any assistance with this, please contact Broadcom Support.
Disclaimer: This script is tested on environments under 25k users. For more users affected, please contact Broadcom Support for assistance with running the solution.