Bug 1158138
Summary: | username key in permissions preventing '.' in username. | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Patrick Creech <pcreech17> |
Component: | API/integration | Assignee: | amacdona <austin> |
Status: | CLOSED UPSTREAM | QA Contact: | Irina Gulina <igulina> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | Master | CC: | austin, igulina, mhrivnak, michal.marciniszyn |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 2.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-28 22:41:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Patrick Creech
2014-10-28 17:01:15 UTC
*** Bug 1113629 has been marked as a duplicate of this bug. *** fixed in pulp 2.6.0-0.2.beta I could create the user 'test.user'. I could create the user whose id is a single period. Then it's not possible to delete this period id user. >> rpm -qa | grep pulp-server pulp-server-2.6.0-0.2.beta.fc20.noarch >> pulp-admin auth user create --login test.user Enter password for user [test.user] : Re-enter password for user [test.user]: User [test.user] successfully created >> pulp-admin auth user list +----------------------------------------------------------------------+ Users +----------------------------------------------------------------------+ Login: admin Name: admin Login: test.user Name: test.user Login: test Name: test >> pulp-admin auth permission grant --resource /v2/repositories/ --login test.user -o create -o update -o read Permissions [/v2/repositories/ : ['CREATE', 'UPDATE', 'READ']] successfully granted to user [test.user] >> pulp-admin -u test.user -p 123 repo list +----------------------------------------------------------------------+ Repositories +----------------------------------------------------------------------+ >> pulp-admin auth user delete --login test.user User [test.user] successfully deleted >> pulp-admin auth user create --login . Enter password for user [.] : Re-enter password for user [.]: User [.] successfully created >> pulp-admin auth user list --details +----------------------------------------------------------------------+ Users +----------------------------------------------------------------------+ Login: admin Name: admin Roles: super-users Login: test Name: test Roles: Login: . Name: . Roles: >> pulp-admin auth user delete --login . There was an internal server error while trying to access the Pulp application. One possible cause is that the database needs to be migrated to the latest version. If this is the case, run pulp-manage-db and restart the services. More information may be found in Apache's log. There is exactly the same issue with a period id repo https://bugzilla.redhat.com/show_bug.cgi?id=1159071 What to do? - Move this bug to VERIFIED and open a new one about 'period' user? or - Move this bug back to ASSIGN? Moving to verified according to the comment [1] on BZ 1159071. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1159071#c2 Moved to https://pulp.plan.io/issues/593 |