You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (Jira)" <ji...@apache.org> on 2023/03/14 05:33:00 UTC
[jira] [Commented] (RANGER-4127) Unable to delete the user if policy is created by same user and added in the policy item
[ https://issues.apache.org/jira/browse/RANGER-4127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17699953#comment-17699953 ]
Pradeep Agrawal commented on RANGER-4127:
-----------------------------------------
Commit link for 2.4 branch : https://github.com/apache/ranger/commit/262d53cc2ce6bd21bf0493451e605a9990a405e9
Commit link for master branch : https://github.com/apache/ranger/commit/85cf0c2da119af379bc1f818ab6a47c2315a14a9
> Unable to delete the user if policy is created by same user and added in the policy item
> ----------------------------------------------------------------------------------------
>
> Key: RANGER-4127
> URL: https://issues.apache.org/jira/browse/RANGER-4127
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Pradeep Agrawal
> Assignee: Pradeep Agrawal
> Priority: Major
> Fix For: 3.0.0, 2.4.0
>
>
> *Steps to reproduce:*
> Login from user having "admin" role access and create a user(for example testuser1). The new user should have "admin" role.
> Login from that user(testuser1) and go to create policy page of any ranger service. Add the same user in policy item. Save the policy. Logout from the current user(testuser1).
> Login from some other user who have "admin" role and try to delete the user "testuser1".
>
> Expected result: "testuser1 should be deleted and removed from policy.
> Actual output: "*Error!* Error occurred during deleting Users: testuser1"
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)