mirror of
https://github.com/rancher/steve.git
synced 2025-07-06 19:38:56 +00:00
* refactor(accesscontrol): make addAccess directly accept PolicyRules * refactor(accesscontrol): add new types for encapsulating all needed data * refactor(accesscontrol): make getRules return resource version * refactor(accesscontrol): add new getRoleRefs to policyRuleIndex * refactor(accesscontrol): make accessStore use the new types and method * cleanup(accesscontrol): remove unused code * cleanup(accesscontrol): adapt tests * cleanup(accesscontrol): add some comments and remove unused function * refactor(accesscontrol): rework indexer to make it more readable and testable * Fix typo * test: consistent use of t.Error * test: refactor policyRulesMock to just use a map * misc: rename toUserInfo function * refactor: consistent sort by UID |
||
---|---|---|
.. | ||
fake | ||
access_control.go | ||
access_set.go | ||
access_store_test.go | ||
access_store.go | ||
policy_rule_index_test.go | ||
policy_rule_index.go | ||
user_grants.go |