Unable to set tasks as Starred in timesheets
search cancel

Unable to set tasks as Starred in timesheets

book

Article ID: 391866

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

An user with no Project Edit Management rights can not set tasks as Starred on the Timesheet Select Tasks grid. The app-ca.log or developer tools recall the following error:  API-1007 : You are not authorized to process request. Contact your system administrator for necessary security rights.  

STEPS TO REPRODUCE

  1. Create a user and provide the following rights:
    • Project Management - Tiles Navigate
    • Project Management - Navigate
    • Projects - Navigate
    • Tasks - Navigate
    • Timesheets - Navigate
  2. As an admin user create a project
  3. Add the resource created in step 1 to the Project Staff tab
  4. Create a task and assign him to the task
  5. Login as the user we created for the test
  6. Go to MUX > Timesheets > Open a timesheet > Add Tasks > Select Tasks 
  7. Add the Starred column to the view
  8. Mark the task as Starred on the grid view.
  9. Refresh the page

Expected Results: The task to be marked as Starred
Actual Results: The task was not marked as Starred

app-ca.log recalls the following errors:
ERROR 2025-03-25 08:08:32,018 [http-nio-8080-exec-124] function.UserFavoritesAPI (clarity:myuser:mysession:PPM_REST_API) (2d85371a-ad56-4dae-865c-393ad81bc610) User myuser doesn't have required rights to create the favorite instance
ERROR 2025-03-25 08:08:32,020 [http-nio-8080-exec-124] function.UserFavoritesAPI (clarity:myuser:mysession:PPM_REST_API) (2d85371a-ad56-4dae-865c-393ad81bc610) Error occured while processing favorites for tasks
com.ca.ppm.rest.exception.AuthException: API-1007 : You are not authorized to process request. Contact your system administrator for necessary security rights.  

Environment

Any Clarity release

Cause

This is caused by DE168260

Resolution

In Clarity 16.3.2 a Toast message has been added to inform users there is an issue with permissions.

The application requires the following access rights in all current Clarity releases::

  • In order to be able to mark a Project Task as Starred the following access right is needed: Project - View Tasks - All
  • In order to be able to mark a Custom investment Task as Starred the following access right is needed: Project - Edit Assigned Tasks - All

After a careful review, this functionality will not be changed at this stage.

Please attend the Product Management Office Hours to discuss further plans on this.

Questions or suggestions regarding the future Clarity roadmap? Product Management Office Hours details