Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a script that alters each object to reassign owner role #66

Open
latin-panda opened this issue Mar 1, 2021 · 0 comments
Open

Comments

@latin-panda
Copy link
Contributor

latin-panda commented Mar 1, 2021

The scripts don't reassign owner to full_access, that work needs to done manually most of the time.

However this repo is designed to support all CHT deployments, even self hosted. So we should not hardcode Medic-specific roles, but we can include that as a separate script.

  1. Create a new script that alters the ownership of each object so it can be run when necessary (on demand):
    ALTER [OBJECT_TYPE] [OBJECT_NAME] OWNER TO full_access;
  2. It would be nice to add some comments about how to use it, the reason of this script and what the role is about, so other projects have better understanding of this script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant