ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Agrawal (Jira)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-2856) A policy should be deleted if it has no policyItems
Date Thu, 02 Jul 2020 16:37:00 GMT

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

Pradeep Agrawal commented on RANGER-2856:

[~RickyMa] : if [^RANGER-2856.patch] is your proposed patch then download that file and
go to your RR and select: update -> update Diff -> select the file and upload it. After
upload publish the RR again.


> 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
>         Attachments: RANGER-2856.patch, image-2020-07-02-21-58-59-495.png, image-2020-07-02-22-03-36-267.png
>          Time Spent: 10m
>  Remaining Estimate: 0h
> 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

View raw message