Project

Profile

Help

Issue #347

user/role delete successfull for the user that is logged in

Added by pthomas@redhat.com over 6 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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 +

History

#1 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter over 2 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.

#3 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF