Project

Profile

Help

Issue #366

closed

Error message when the user aleady exists should say user already exists

Added by pthomas@redhat.com about 9 years ago. Updated about 5 years ago.

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

Description

Description of problem:

If a user with the same login exist the message says "A resource with the ID "user1" already exists." It would be better to say " A user with login User1 already exists" because for permissions, the term resource is used in different context

[root@hp-dl380pgen8-02-vm-16 ~]# pulp-admin auth permission
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
Description: manage granting, revoking and listing permissions for resources

Available Commands:
grant - grants resource permissions to given user or given role
list - lists permissions for a particular resource
revoke - revokes resource permissions from given user or given role
[root@hp-dl380pgen8-02-vm-16 ~]#

Version-Release number of selected component (if applicable):

[root@hp-dl380pgen8-02-vm-16 ~]# rpm -q pulp-server
pulp-server-2.2.0-0.26.beta.fc19.noarch

How reproducible:

Steps to Reproduce:
1. create a user
2. try to create the same user again
3.

Actual results:
[root@hp-dl380pgen8-02-vm-16 ~]# pulp-admin auth user create --login user1 --password redhat
A resource with the ID "user1" already exists.

Expected results:

Additional info:

+ This bug was cloned from Bugzilla Bug #997926 +

Also available in: Atom PDF