How to update existing users security level on folders
I have a Java program that walks a bunch of folders and adds groups with the appropriate security levels. Viewer/Uploader, Editor, etc.
As a company, we decided to change access to a couple of groups. Is there a way to update the existing groups from Viewer/Uploader to say Editor without having to remove them first then add them back to the folders?
I don't want to remove / add the groups because they will get thousands of emails saying they've been invited to collaborate on the folders they've been added to.
-
Hi ,
Thanks for your post and appreciate the question.
Sadly I'm not developer but I do understand you can make this change fairly easy from the Admin Console view for groups. You should see all the appropriate folders your group has access to and there should be a drop down display menu of what groups to change permission.
This shouldn't notify your users, but will update the permissions and access to the folder at scale.
Hope that's a little easier, but if you have further info to share, appreciate the clarification!
-
First, you need to get the collaboration id for the group collaboration on the folder. You can do that by calling the Get Folder Collaborations endpoint. This call will return back a list of users and groups that have access to that folder, so you will need to filter for the specific group needed. Once you have the collaboration id, you can update it using the Update Collaboration endpoint and set the appropriate permission using the role parameter. Please let me know if that helps?
サインインしてコメントを残してください。
コメント
3件のコメント