Consistent alert message on UI when user don't have appropriate rights
search cancel

Consistent alert message on UI when user don't have appropriate rights

book

Article ID: 206425

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Consistent alert message on UI when user don't have appropriate rights 

STEPS TO REPRODUCE: 

1. Create a user and provide below rights 


  a. Project Management - Tiles Navigate
  b. Project Management – Navigate


2. Login using the newly created user and navigate to modern ux and it defaults to projects and open browser console and see you will find 401 error and below API response

 {resourceId: null, httpStatus: "401",…}
 errorCode: "api.unauthorized"
 errorMessage: "API-1007 : You are not authorized to process request. Contact your system administrator for necessary security rights."
 httpStatus: "401"
 resourceId: null


3. Now change he URL to investments and look at the browser trace it doesn’t show data but it doesn’t say 401 un authorized access 
4. Now change he URL to team  and look at the browser trace it does show 401 un authorized access and an alert too


Expected Results: Consistent error message across all modern ux workspace

Actual Results: For custom investments it shows No investment 

 

Environment

Release : 15.9

Component : CLARITY ON DEMAND INVSTMNTS, PRJCTS, RESOURCES & NPIO MGMT

Cause

This is a logged as defect (DE59410) however after review with engineering and product management this is not a defect and this is by design. 

Resolution

No impact as such but consistent messaging will be give user the information.