Get allowable ACL permissions for an object [SOLVED]

Anything concerning integration via the REST API
Post Reply
neuhs
Posts: 1
Joined: Wed Jun 24, 2020 9:44 am

Get allowable ACL permissions for an object [SOLVED]

Post by neuhs »

Hi. I would like to ask if there is an API available for me to retrieve allowable permissions for a specific ACL object.

i.e.: Is there a way for me to get the list of allowable permission for document types or indexes?
Attachments
Capture.PNG
Capture.PNG (126.21 KiB) Viewed 1016 times
User avatar
michael
Developer
Developer
Posts: 63
Joined: Sun Apr 19, 2020 6:21 am

Re: Get allowable ACL permissions for an object

Post by michael »

Hi neus. There is no API endpoint to show this yet, but it is something that can be added. We'll get to work on this. Thanks!
User avatar
rosarior
Developer
Developer
Posts: 581
Joined: Tue Aug 21, 2018 3:28 am
Location: Puerto Rico
Contact:

Re: Get allowable ACL permissions for an object

Post by rosarior »

Hi neuhs.

A patch to add was just submitted and merged (https://gitlab.com/mayan-edms/mayan-edm ... 159f501fcd).

Thanks for the request!
Attachments
2020-08-25_02-13.png
2020-08-25_02-13.png (73.56 KiB) Viewed 899 times
2020-08-25_02-12.png
2020-08-25_02-12.png (54.92 KiB) Viewed 899 times
Post Reply