help text for juju grant needs improving
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
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) |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
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 |
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