diff options
author | Petr Viktorin <pviktori@redhat.com> | 2012-02-06 07:18:11 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-02-06 14:13:33 +0100 |
commit | 01929015e04688be073e129e47d789bb91186bac (patch) | |
tree | 2e1f8bde67acd31b7a260964845bd6b244290064 /ipalib | |
parent | b32d320922a041493a4fde8c80ba65dab432baea (diff) | |
download | freeipa-01929015e04688be073e129e47d789bb91186bac.tar.gz freeipa-01929015e04688be073e129e47d789bb91186bac.tar.xz freeipa-01929015e04688be073e129e47d789bb91186bac.zip |
Switch --group and --membergroup in example for delegation
The example mistakenly showed how to allow "employees" to edit
addresses of "managers".
This fixes the example by switching the two options.
https://fedorahosted.org/freeipa/ticket/2317
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/delegation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/delegation.py b/ipalib/plugins/delegation.py index b707cd785..f602507bd 100644 --- a/ipalib/plugins/delegation.py +++ b/ipalib/plugins/delegation.py @@ -40,11 +40,11 @@ of attributes of members of another group. EXAMPLES: Add a delegation rule to allow managers to edit employee's addresses: - ipa delegation-add --attrs=street --membergroup=managers --group=employees "managers edit employees' street" + ipa delegation-add --attrs=street --group=managers --membergroup=employees "managers edit employees' street" When managing the list of attributes you need to include all attributes in the list, including existing ones. Add postalCode to the list: - ipa delegation-mod --attrs=street,postalCode --membergroup=managers --group=employees "managers edit employees' street" + ipa delegation-mod --attrs=street,postalCode --group=managers --membergroup=employees "managers edit employees' street" Display our updated rule: ipa delegation-show "managers edit employees' street" |