Skip to content

Add group specification to mysql static auth for ACL usage#4499

Merged
sougou merged 2 commits intovitessio:masterfrom
Santiclause:wip-static-groups
Jan 6, 2019
Merged

Add group specification to mysql static auth for ACL usage#4499
sougou merged 2 commits intovitessio:masterfrom
Santiclause:wip-static-groups

Conversation

@Santiclause
Copy link
Copy Markdown
Contributor

The default table ACL implementation already has a mechanism for allowing access based either on username or groups that the caller is a member of, but it seems that only the LDAP authn mechanism lets us use these groups. This is just a simple change to also allow the static authn method to specify groups to which a user belongs.

Signed-off-by: Michael Hebelka <michael.hebelka@sharpspring.com>
@Santiclause Santiclause requested a review from sougou as a code owner January 3, 2019 19:35
Copy link
Copy Markdown
Contributor

@sougou sougou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Can you add tests (or enhance existing ones)?

Signed-off-by: Michael Hebelka <michael.hebelka@sharpspring.com>
@sougou sougou merged commit be4235c into vitessio:master Jan 6, 2019
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

Successfully merging this pull request may close these issues.

2 participants