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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.4.0
    • admin
    • None

    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.

      CC: nitin.galave, Dhaval.Rajpara 

      Attachments

        1. 0002-RANGER-4083.patch
          6 kB
          Dhaval Rajpara

        Activity

          People

            Dhaval.Rajpara Dhaval Rajpara
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: