Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The SentryPolicyServiceClient + SentryGenericServiceClient have a large number of shared methods, and a small number of methods with the same meaning but with slightly different names. This task is to align both clients so that the shared methods are called the same - this makes it a bit easier to read code when switching from generic to hive etc.
The proposed changes are:
SentryGenericServiceClient:
addRoleToGroups -> grantRoleToGroups
deleteRoleToGroups -> revokeRoleFromGroups
listPrivilegesByRoleName -> listAllPrivilegesByRoleName
SentryPolicyServiceClient:
listRoles -> listAllRoles
Attachments
Attachments
Issue Links
- links to