Colm O hEigeartaigh created SENTRY-2013:
-------------------------------------------
Summary: Align the SentryGenericServiceClient and
SentryPolicyServiceClient a bit more closely
Key: SENTRY-2013
URL: https://issues.apache.org/jira/browse/SENTRY-2013
Project: Sentry
Issue Type: Improvement
Reporter: Colm O hEigeartaigh
Assignee: Colm O hEigeartaigh
Priority: Minor
Fix For: 2.0.0
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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)