Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1009377

Summary: [RFE]Show specific permission instead of the word "PERMISSION" in the --permission help page
Product: [Retired] Beaker Reporter: xjia <xjia>
Component: command lineAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 0.15CC: aigao, asaha, dcallagh, dowang, qwan, tools-bugs, xtian
Target Milestone: 19.1Keywords: EasyFix, FutureFeature, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-17 08:40:11 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 xjia 2013-09-18 10:15:47 UTC
Description of problem:
It'd be better if show permission list in the help page:
  --permission=PERMISSIONS  Revoke PERMISSION(edit-system, reserve...) in policy

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

How reproducible:
100%

Steps to Reproduce:
1.bkr policy-revoke -h
2.
3.

Actual results:
--permission=PERMISSIONS  Revoke PERMISSION in policy

Expected results:
--permission=PERMISSIONS  Revoke PERMISSION(edit-system, reserve, loan-self, loan-anyone, edit-policy) in policy

Additional info:

Comment 2 Dan Callaghan 2014-11-24 01:01:26 UTC
http://gerrit.beaker-project.org/3504

Applies to both bkr policy-grant and bkr policy-revoke.

Expected output:

$ bkr policy-grant --help
[...]
  --permission=PERMISSION  Grant PERMISSION in policy: view, edit_policy, edit_system, loan_any, loan_self,
                           control_system, reserve
[...]

$ bkr policy-revoke --help
[...]
  --permission=PERMISSION  Revoke PERMISSION in policy: view, edit_policy, edit_system, loan_any, loan_self,
                           control_system, reserve
[...]

Comment 5 Dan Callaghan 2014-12-17 08:40:11 UTC
Beaker 19.1 is released.