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/09 09:01:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Pradeep Agrawal updated RANGER-4127:
------------------------------------
    Description: 
*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"

 

 

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