You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "RickyMa (Jira)" <ji...@apache.org> on 2020/06/11 17:42:00 UTC

[jira] [Updated] (RANGER-2856) A policy should be deleted if it has no policyItems

     [ https://issues.apache.org/jira/browse/RANGER-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RickyMa updated RANGER-2856:
----------------------------
    Description: 
Condition: A policy contains only one policyItem and the policyItem only sets one user and no groups.

Action: Delete the user in the policyItem using API: '[http://ip:6080/service/xusers/users/\{id}?forceDelete=true'|http://ip:6080/service/xusers/users/id?forceDelete=true%27,]

Result: The policy still exists, but it has no policyItems. A policy with no policyItems is completely meaningless and it should be deleted.

> A policy should be deleted if it has no policyItems
> ---------------------------------------------------
>
>                 Key: RANGER-2856
>                 URL: https://issues.apache.org/jira/browse/RANGER-2856
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin, Ranger
>    Affects Versions: master
>            Reporter: RickyMa
>            Priority: Minor
>             Fix For: master
>
>
> Condition: A policy contains only one policyItem and the policyItem only sets one user and no groups.
> Action: Delete the user in the policyItem using API: '[http://ip:6080/service/xusers/users/\{id}?forceDelete=true'|http://ip:6080/service/xusers/users/id?forceDelete=true%27,]
> Result: The policy still exists, but it has no policyItems. A policy with no policyItems is completely meaningless and it should be deleted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)