Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4146

[Ranger UI] [React JS] Tag-based policy UI to not show permissions in deny/exception for services that don't support deny/exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Ranger

    Description

      Ranger provides service-def option enableDenyAndExceptionsInPolicies to support services where explicit deny and expception are not feasible - for example services like Elasticsearch, Kylin, Nifi-Registry, Nifi, Sqoop. For such services, policy UI shows only allow policy items in resource-based policies. However, tag-based policies are common across all service-types, hence deny and exception policy-items are shown in policy UI. This allows users to setup tag-based policies to deny access to users/group/roles - even though they may not work for above services.

      To eliminate confusion, tag-based policy UI should not show permissions in deny and expception policy-items for service-types that don’t support deny and exceptions i.e., service-defs having options.enableDenyAndExceptionsInPolicies=false.

      Attachments

        1. 0001-RANGER-4146.patch
          9 kB
          Brijesh Bhalala
        2. 0002-RANGER-4146.patch
          36 kB
          Brijesh Bhalala

        Issue Links

          Activity

            People

              brijesh.bhalala Brijesh Bhalala
              Dhaval.Rajpara Dhaval Rajpara
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: