Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2013

Align the SentryGenericServiceClient and SentryPolicyServiceClient a bit more closely

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      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

        1. SENTRY-2013.patch
          58 kB
          Colm O hEigeartaigh

          Issue Links

            Activity

              People

              • Assignee:
                coheigea Colm O hEigeartaigh
                Reporter:
                coheigea Colm O hEigeartaigh
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: