| Summary: | can't revoke multiple permissions at the same time using bkr policy-revoke | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | wangjing <jingwang> |
| Component: | command line | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED NOTABUG | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.15 | CC: | aigao, asaha, dcallagh, qwan, rmancy, tools-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-11-13 03:43:30 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
wangjing
2013-10-22 10:35:45 UTC
Indeed, the logic in the policy-revoke command is not correct - it needs to use the same structure as the policy-grant command. Both policy-grant and policy-revoke need additional integration tests that cover granting/revoking multiple permissions at once, as well as multiple users and groups in the same command. I cannot reproduce this problem. Here is a pair of test cases which show it working properly as well: http://gerrit.beaker-project.org/3484 As far as I can see nothing has changed here since 0.15 so I'm not sure what was going wrong... |