Project

General

Profile

Feature #19146

Updated by Peter Amstutz almost 2 years ago

To correctly determine whether to display actions for sharing and project freezing in workbench, we need to know if a user has "can_manage" permission. 

 Proposal: 

 If the current user has can_manage permission to an object, the response includes a "managed_by" field which is computed similarly to "writable_by" except for can_manage permission. 

 In the case of a frozen project, we expect the "writable_by" field to be empty, but the "managed_by" field to filled in.    Workbench is responsible for checking "writeable_by" for modification operations and "managed_by" for permission operations. 

Back