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

mariadb: declarative roles and users #16

Open
ip1981 opened this issue May 18, 2017 · 0 comments
Open

mariadb: declarative roles and users #16

ip1981 opened this issue May 18, 2017 · 0 comments

Comments

@ip1981
Copy link
Owner

ip1981 commented May 18, 2017

If user/role is not in nix expressions, it should be deleted from the mysql database (done for roles only, for users this behaviour should be optional). A role/user gets only privileges specified in nix expressions, other privileges, if any, are revoked (done for roles granted of other roles).

Only legit MySQL statements must be used (GRANT / REVOKE), editing the mysql database is prohibited, while SELECT is ok.

User passwords, if any, must not be altered

REVOKE ALL, GRANT OPTION ... is not allowed, because of time gap when user has no privileges, or, if it's a role, many users can't work. Same for deleting and recreating a role.

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