Project

General

Profile

Bug #16118

Updated by Peter Amstutz about 4 years ago

Workbench2 does not check if a user can edit a collection when rendering the collection view ( 
 workbench2/src/views/collection-panel).    As a result, if the user only has read-only access to the collection, they will experience API errors if they try to edit it.    The collection view should check whether the collection is writable and have both editable and read-only views.    You can check if the collection can be edited by examining the @writable_by@ field in collection record, this is a list of uuids, if the collection is writable, the current user uuid will appear in that list, if not, the collection is read-only. 

Back