Skip to content

Conversation

samveen
Copy link
Member

@samveen samveen commented Aug 7, 2019

The PR is to implement feature #1848

##Feature description##
In the case of lots of users (or user churn) of a cluster, it is easier to add a group based policy instead of creating individual policies for users.

Code logic:

  • Given the request's peername, get the groups for the user.
  • If the group list contains the rule name, it's a match, so carry forward as previously, or check for username and carry forward as previously.

The UT result

As I no longer have access to an xCAT environment, I am unable to unit-test this.

@samveen
Copy link
Member Author

samveen commented Aug 7, 2019

@gurevichmark @whowutwut would you please review this?

@besawn besawn self-assigned this Aug 29, 2019
@samveen samveen changed the title [WIP] Add ability to create usergroup based policy rules Add ability to create usergroup based policy rules Jan 14, 2020
This implements feature request xcat2#1848

Signed-off-by: Samveen <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Jul 31, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants