Issue #347
closeduser/role delete successfull for the user that is logged in
Description
Description of problem:
logged in user or the role that the user belongs to can be deleted
Version-Release number of selected component (if applicable):
[root@cloud-qe-8 ~]# rpm -q pulp-server
pulp-server-2.1.0-0.26.beta.noarch
[root@cloud-qe-8 ~]#
How reproducible:
Steps to Reproduce:
1. Run role create for a new role
2. Give the role appropriate permissions
3. Create a a new user
4. Add the user to the role
5.Login as the above role
6. Run role delete on the role your are logged in as
This also true for user
[root@cloud-qe-8 ~]# pulp-admin auth role create --role-id role1
Role [role1] successfully created
[root@cloud-qe-8 ~]# pulp-admin auth permission grant --resource / --role role1 -o create -o read -o update -o delete -o execute
Permissions [/ : ['CREATE', 'READ', 'UPDATE', 'DELETE', 'EXECUTE']] successfully
granted to role [role1]
[root@cloud-qe-8 ~]# pulp-admin auth role user add --role-id role1 --login user-1
User [user-1] successfully added to role [role1]
[root@cloud-qe-8 ~]# pulp-admin login -u user-1 -p redhat
Successfully logged in. Session certificate will expire at Apr 10 14:56:29 2013
GMT.
[root@cloud-qe-8 ~]# pulp-admin auth user delete --login user-1
User [user-1] successfully deleted
Actual results:
Expected results:
Additional info:
+ This bug was cloned from Bugzilla Bug #947937 +
Updated by bmbouter almost 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter almost 5 years ago
- Severity set to 1. Low
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.