Once a folder is created with folder API, how do you subsequently modify the folder permissions related to edit, move, delete, etc? Specifically, I want to limit what a user can do with a created folder, when they view said folder in Environment Manager.
Do you use the authorization API to do this?
Do you use the annotation API to do this?
Can you specify the permissions at the point when you are creating a folder with the folder API? (seems unlikely but thought I'd ask)
Overall, it seems like when you create a folder with the folder API, the resulting folder returns a response that includes links for GET, POST, DELETE, etc. It seems like those links are used by the Environment Manager when determining what actions can be taken on a specific folder?
Does that authorization header deal with authorization of the request itself and not the authorization of the folders?
Unfortunately, the patchFolder API does not include folder permissions as a parameter. The Auth...header parameter is for the REST call itself, not the for the Folder. I'm checking with our dev team to see if there is any other way to control the folder permissions via an API. I'll repost when I get more information.
Join us for SAS Community Trivia
SAS Bowl L, PROC HTTP
Wednesday, February 19, 2024, at 10:00 a.m. ET | #SASBowl
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.