| Summary: | Add an example how to retrieve permissions for a particular resource | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Ina Panova <ipanova> |
| Component: | documentation | Assignee: | Ina Panova <ipanova> |
| Status: | CLOSED UPSTREAM | QA Contact: | Irina Gulina <igulina> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.2 | CC: | cduryee, igulina, rbarlow, skarmark |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | 2.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-19 01:12:05 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: | |
|
Description
Ina Panova
2013-10-22 12:33:34 UTC
It actually works: # curl -H "Accept: application/json" -X GET -k -u admin:admin 'https://localhost/pulp/api/v2/permissions/?resource=%2Fv2%2Factions%2Flogin%2F' | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 210 100 177 100 33 473 88 --:--:-- --:--:-- --:--:-- 474 [ { "_id": { "$oid": "54660ade6754762ed6e6bd38" }, "_ns": "permissions", "id": "54660ade6754762ed6e6bd38", "resource": "/v2/actions/login/", "users": { "admin": [ "READ", "UPDATE" ] } } ] I think an example how to do it would be helpful. This commit is in master and 2.6-dev, changing state to MODIFIED and setting target release. fixed in pulp 2.6.0-0.2.beta Documented. Moved to https://pulp.plan.io/issues/210 |