You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Dhaval Rajpara (Jira)" <ji...@apache.org> on 2022/06/24 13:28:00 UTC

[jira] [Commented] (RANGER-3804) Update policy UI to support multiple resource-sets

    [ https://issues.apache.org/jira/browse/RANGER-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558492#comment-17558492 ] 

Dhaval Rajpara commented on RANGER-3804:
----------------------------------------

Hi [~madhan]/[~nitin.galave],

I have questions about the UI side approach.

Considering the ATLAS Component:
--> In the Ranger policy form render the permission item base on the last selected resource value.
      
        !classification.png! 
        !entity-label.png! 
       
In these images, the last selected resource is Classification and Entity-Label, and based the resource : we render their access permission item.
       
-->And the last resource selected as none, in that case, we show their previous resource access permission item.
       
      !EntityID.png! 

The question is, 1) how do we render access permission type based on their last selected resource if multiple resources are available. 
2) After these changes Resouce field supports multiple values?
Like {database:db1,db2}

Thanks
Dhaval Rajpara





 

> Update policy UI to support multiple resource-sets
> --------------------------------------------------
>
>                 Key: RANGER-3804
>                 URL: https://issues.apache.org/jira/browse/RANGER-3804
>             Project: Ranger
>          Issue Type: Sub-task
>          Components: admin
>            Reporter: Madhan Neethiraj
>            Assignee: Nitin Galave
>            Priority: Major
>         Attachments: EntityID.png, classification.png, entity-label.png
>
>
> Policy model enhancements in RANGER_3796 enable a Ranger policy to be created with multiple resource-sets – like:
>  * database: [ db1 ], table: [ tbl1 ], column: [ * ]
>  * database: [ db1 ], udf: [ * ]
>  * database: [ db2 ], table: [ tbl2 ], column: [ * ]
>  
> Policy UI needs to be updated to support multiple resource-sets, some what similar to security-zone UI that allows multiple resource-sets to be added in a zone. For policy UI, I suggest retaining existing UI for RangerPolicy.resources, and have a separate optional UI (triggered via _More Resources_ button?) to capture additional resources.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)