Collaborators should not be able to rename an export profile
Collaborators (either with Edit access, or View access) can access the modal about renaming the export profile but there will be an error as in the screenshot below once they click "OK":
The error in the terminal is:
server_1 | ::ffff:192.168.160.1 - - [14/Dec/2023:13:29:24 +0000] "OPTIONS /graphql HTTP/1.1" 204 0 "http://localhost:4000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
server_1 |
server_1 | Not Authorised! {
server_1 | error: [GraphQLError: Not Authorised!] {
server_1 | locations: [ [Object] ],
server_1 | path: [ 'updateExportProfile' ],
server_1 | extensions: { code: 'INTERNAL_SERVER_ERROR', exception: [Object] }
server_1 | }
server_1 | }
Expected behavior
The modal "Edit export name" should not be editable for collaborators.