xcat-core icon indicating copy to clipboard operation
xcat-core copied to clipboard

Add ability to create usergroup based policy rules

Open samveen opened this issue 6 years ago • 2 comments
trafficstars

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 avatar Aug 07 '19 14:08 samveen

@gurevichmark @whowutwut would you please review this?

samveen avatar Aug 07 '19 14:08 samveen

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 31 '24 16:07 CLAassistant