'Could not Upload file' adding attachment to a CIT Task
search cancel

'Could not Upload file' adding attachment to a CIT Task

book

Article ID: 396731

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

'Could not Upload file' error when trying to add an attachment for a task in a Custom Investment Type (CIT), if the user does not have the Project Edit Management -  All right

Seps To Reproduce:

  1. Studio > Task object > Create a (Multiple Documents) attachment type attribute and set the API Attribute ID
  2. Studio > Objects > Create a Investment Extension object
  3. MUX > Create an instance to the CIT
  4. For one user add Global access rights for the CIT for
    •       < CIT Name> - Edit All
    •       < CIT Name> - Navigate
    •       < CIT Name> - Task Management - All
    •       < CIT Name> - View All
    •       Custom Investment - Navigate
    •       Resource Management - Navigate
  5. Make sure they do not have the Project Management Edit All right.
  6. Log in as the User created with the limited rights
  7. Navigate to the CIT and instance created
  8. On the task module add the column for the attachment attribute created. It can also be done on the details flyout.
  9. Upload a file

Expected Result:  File Uploads

Actual Result:   File does not upload. Error in UI is 'Could not Upload file'

app-ca.log shows: Logs show error for the user  tried to access attachment for object task, but does not have permission. 
API-1007 : You are not authorized to process request. Contact your system administrator for necessary security rights.

Environment

Clarity 16.2.2 to 16.3.2

Cause

This is caused by DE170260

Resolution

This is fixed in Clarity 16.3.3

Workaround:  Provide the right Project Edit Management - All.