help text for juju grant needs improving

Bug #1569652 reported by Peter Matulis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Reed O'Brien

Bug Description

e.g.:

Usage: juju grant [options] <user name> <model name> ...

Summary:
Grants access to a Juju user for a model.

Options:

--acl (= "read")
    Access control ('read' or 'write')
-c, --controller (= "")
    Controller to operate in

Details:
By default, the controller is the current controller.
Model access can also be granted at user-addition time with the `juju add-user` command.
Users with read access are limited in what they can do with models: `juju list-models`, `juju list-machines`, and `juju status`.

Examples:

Grant user 'joe' default (read) access to model 'mymodel':

    juju grant joe mymodel

Grant user 'jim' write access to model 'mymodel':

    juju grant --acl=write jim mymodel

Grant user 'sam' default (read) access to models 'model1' and 'model2':

    juju grant sam model1 model2

See also: revoke
          add-user

Tags: helpdocs
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.0-rc1
Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Reed O'Brien (reedobrien)
Revision history for this message
Reed O'Brien (reedobrien) wrote :

Output:

Usage: juju grant [options] <user name> <model name> ...

Summary:
Grants access to a Juju user for a model.

Options:
--acl (= "read")
    Access control ('read' or 'write')
-c, --controller (= "")
    Controller to operate in

Details:
By default, the controller is the current controller.
Model access can also be granted at user-addition time with the `juju add-
user` command.
Users with read access are limited in what they can do with models: `juju
list-models`, `juju list-machines`, and `juju status`.

Examples:
Grant user 'joe' default (read) access to model 'mymodel':

    juju grant joe mymodel

Grant user 'jim' write access to model 'mymodel':

    juju grant --acl=write jim mymodel

Grant user 'sam' default (read) access to models 'model1' and 'model2':

    juju grant sam model1 model2

See also:
    revoke
    add-user

Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta5 → none
milestone: none → 2.0-beta5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.