Bug 1009377 - [RFE]Show specific permission instead of the word "PERMISSION" in the --permission help page
Summary: [RFE]Show specific permission instead of the word "PERMISSION" in the --permi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.15
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: 19.1
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-18 10:15 UTC by xjia
Modified: 2018-02-06 00:41 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-17 08:40:11 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.