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

Madhan Neethiraj commented on RANGER-3804:
------------------------------------------

Good questions [~Dhaval.Rajpara]. When multiple resource-sets are present in a 
policy, UI should render union of access-types applicable to each resource-set 
hierarchy. For the example above, following 9 access-types should be rendered 
in the UI:
||#||Resource Hierarchy||Access Types||
|1|entity-type/entity-classification/entity/classification|entity-add-classification
entity-update-classification
entity-remove-classification|
|2|entity-type/entity-classification/entity/entity-label|entity-add-label
entity-remove-label|
|3|entity-type/entity-classification/entity-id|entity-read
entity-create
entity-update
entity-delete|

 

> 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)

Reply via email to