Bug 813913
| Summary: | role info does not reflect working permissions (permissions query broken?) | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | user-experience | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0.6 | CC: | jortel, mmccune, scressi, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 34 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 798803 | Environment: | |
| Last Closed: | 2012-05-25 14:13:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 798803 | ||
| Bug Blocks: | |||
|
Description
Preethi Thomas
2012-04-18 18:22:32 UTC
cloning for v2 moving to on_qa as per the comment fix pushed to master in: ef50effdc11f2ee888c0d1ef7a8ff1c707bcaf17 [root@preethi-el6-pulp ~]# rpm -q pulp
pulp-0.0.284-1.el6.noarch
[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin user create --user test --password test
Successfully created user [ test ] with name [ None ]
[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin role create --role test
Role [ test ] created
[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin role add user --user=test --role=test
[ test ] added to role [ test ]
[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin role info --role=test
+------------------------------------------+
Role Information for test
+------------------------------------------+
Name test
Users test
Permissions:
[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin permission grant --resource /filters/ --role test -o read
Operations ['READ'] granted to role [ test ] on resource [ /filters/ ]
[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin role info --role=test +------------------------------------------+
Role Information for test
+------------------------------------------+
Name test
Users test
Permissions:
/filters/ READ
[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin permission revoke --resource /filters/ --role test -o read
Operations ['READ'] revoked from role [ test ] on resource [ /filters/ ]
[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin role info --role=test +------------------------------------------+
Role Information for test
+------------------------------------------+
Name test
Users test
Permissions:
Pulp v1.1 Release |