Admin users find API-1007 error when trying to access the project hierarchy
book
Article ID: 282190
calendar_today
Updated On:
Products
Clarity PPM On PremiseClarity PPM SaaSClarity FedRAMP
Issue/Introduction
Admin users or users with sufficient security rights get a toast message API-1007 error when trying to access the hierarchy in projects (new UX).
Steps to Reproduce:
Create a custom project blueprint with the Hierarchy module published
Create a parent project and a few child projects. for example project names: PARENT and CHILD 1 and CHILD 2
Assign the custom project blueprint (step1) to PARENT
Navigate to the PARENT project and open the hierarchy grid view and enable show widget and create a dummy widget and it to the view, save the view as a custom label. example: 'With widgets'
Navigate to a child project and use the global header PARENT header to navigate back to the parent project
Once back on the parent project hierarchy, Switch between the 'standard view' and the custom view 'With widgets'
Expected Results: The views to switch between each other
Actual Results: Finding toast message 'API-1007: You are not authorized to process request. Contact your system administrator for necessary security rights.'...'TypeError: Cannot read properties of null (reading '_internalId____aggr')'
app logs:
WARN...provider.InvestmentResourceProvider ...xxx... User admin tried to retrieve resource [resource name: investments, resource id: ] but does not have permission. ERROR xxx..com.ca.ppm.rest.exception.AuthException: API-1007 : You are not authorized to process request. Contact your system administrator for necessary security rights.
Cause
DE80205
Resolution
DE80205, fixed in 16.2.2
Workaround: Remove widgets from the saved views and save