Copy Permissions

257 views
Skip to first unread message

Sebastian Merenyi

unread,
Sep 28, 2022, 11:30:54 AM9/28/22
to GAM for Google Workspace
Hello everyone.

How can we assign a new user the same permissions on shared drives and specific files that are currently assigned to another user?
In this case they are very specific permissions and we would not be creating groups with permissions.

Thank you very much for your help, in case we can perform such action.
Regards.
Message has been deleted

Ross Scroggs

unread,
Sep 28, 2022, 1:16:25 PM9/28/22
to google-ap...@googlegroups.com
Sebastian,

Ignore previous email, hit enter too soon.

This requires multiple steps, see these scripts.
My Drive files shared to current user

Shared Drive files shared to current user

Top level Shared Drive ACLs for current user
Edit script

USER_LIST = ['curre...@domain.com']

TYPE_LIST = ['user']


gam redirect csv ./filelistperms.csv print teamdriveacls pm type user emailaddress curre...@domain.com em

./MakeOneItemPerRowACLs.py ./filelistperms.csv ./filelistpermsoipr.csv 

gam csv ./filelistpermsoipr.csv gam add drivefileacl "~id" user new...@domain.com role "~permission.role"


Send me a Meet/Zoom invitation,


Ross


On Wed, Sep 28, 2022 at 10:12 AM Ross Scroggs <ross.s...@gmail.com> wrote:
Sebastian,

This requires multiple steps, see these scripts.
My Drive files shared to current user

Shared Drive files shared to current user

Top level Shared Drive ACLs for current user
Edit script

USER_LIST = ['curre...@domain.com']

TYPE_LIST = ['user']


gam redirect csv ./filelistperms.csv print teamdriveacls pm type user emailaddress curre...@domain.com em

./MakeOneItemPerRowACLs.py ./filelistperms.csv ./filelistpermsoipr.csv 

gam csv ./filelistpermsoipr.csv gam add drivefileacl "


--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/6e2003ff-f15e-49a4-857f-07cd5858358an%40googlegroups.com.


--


--
Reply all
Reply to author
Forward
0 new messages