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

Align the SentryGenericServiceClient and SentryPolicyServiceClient a bit more closely

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • 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

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: