solutions
solutions copied to clipboard
Add script to add or remove permissions for all shared vaults for all users and groups
This PR introduces a script, which is an updated version of an existing script, allowing a member of the Owners or Administrators group to update users' and groups' vault permissions for all vaults the Owner or Administrator has Manage Vault access for (when using CLI v2.21 or older).
This also includes an updated README describe the new script and it's usage.
Two things left to do before final review:
- [ ] Handle permissions dependencies (currently the permission change is ignored if there are dependencies)
- [ ] Add CLI version dependency callout to README.
This script was written at the request of a customer who is reconciling their legacy vault permissions with their newly set default vault permissions defined in their 1Password Business Policies settings.
It is an improvement on the existing bulk permissions change script in the following ways:
- Being written in Python makes it suitable for non-unix environments.
- It offers some flexible options to accommodate different needs.