Merge rbac_auth with rbac_rule_validation
Currently, rbac_auth doesn't do much: It decentralizes logic
that can be easily merged into rbac_rule_validation without
doing anything authentication-related. All rbac_auth does is:
1) Construct RbacPolicyParser and check whether a given role
is allowed to perform a given policy action.
2) Dump some info to LOG
3) Catch some exceptions
Thus, there's no justification for keeping rbac_auth. It doesn't
provide a high-enough level of abstraction to warrant being used.
It should be removed and its logic inserted in rbac_rule_validation.
Change-Id: I756175ea28ec11f24150f46d5ae4c2f64499a0ea
Closes-Bug: #1681459
4 files changed