summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-08-19 17:33:50 -0400
committerRob Crittenden <rcritten@redhat.com>2011-08-19 02:54:33 -0400
commitaa2bd245bf6f6f5c17826512759d4f5fbe9d75d7 (patch)
tree3462fcd1a2716211ac1948715b20b2aad6de387f /ipalib
parentd67b60079ff99e8706893886e216aaf2b5ea0709 (diff)
downloadfreeipa-aa2bd245bf6f6f5c17826512759d4f5fbe9d75d7.tar.gz
freeipa-aa2bd245bf6f6f5c17826512759d4f5fbe9d75d7.tar.xz
freeipa-aa2bd245bf6f6f5c17826512759d4f5fbe9d75d7.zip
Fix wording in examples of delegation plugin.
https://fedorahosted.org/freeipa/ticket/1013
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/delegation.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ipalib/plugins/delegation.py b/ipalib/plugins/delegation.py
index bb0431e8..914552f1 100644
--- a/ipalib/plugins/delegation.py
+++ b/ipalib/plugins/delegation.py
@@ -28,18 +28,18 @@ of attributes of members of another group.
EXAMPLES:
- Add a delegation rule to allow editors to edit admin's addresses:
- ipa delegation-add --attrs=street --membergroup=admins --group=editors 'editors edit admins street'
+ 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"
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=admins --group=editors 'editors edit admins street'
+ ipa delegation-mod --attrs=street,postalCode --membergroup=managers --group=employees "managers edit employees' street"
Display our updated rule:
- ipa delegation-show 'editors edit admins street'
+ ipa delegation-show "managers edit employees' street"
Delete a rule:
- ipa delegation-del 'editors edit admins street'
+ ipa delegation-del "managers edit employees' street"
"""
import copy