summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-01-28 07:33:04 -0500
committerSimo Sorce <ssorce@redhat.com>2011-01-28 11:44:38 -0500
commit18e9b7349cadd7dfffb320b7af37bbe17e8e0d9d (patch)
treecd3dae0838ba758ee1b9339b98b65aeba51ffe2f
parenta3a154d915f90fdc7789c462aeb2c1de210aca08 (diff)
downloadfreeipa-18e9b7349cadd7dfffb320b7af37bbe17e8e0d9d.tar.gz
freeipa-18e9b7349cadd7dfffb320b7af37bbe17e8e0d9d.tar.xz
freeipa-18e9b7349cadd7dfffb320b7af37bbe17e8e0d9d.zip
Fix delegation help
-rw-r--r--ipalib/plugins/delegation.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipalib/plugins/delegation.py b/ipalib/plugins/delegation.py
index d5ff08a82..6173b4b46 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 self-service rule to allow users to manage their address:
- ipa selfservice-add --permissions=write --attrs=street,postalCode,l,c,st "User's manage their own address"
+ Add a delegation rule to allow editos to edit admin's addresses:
+ ipa delegation-add --attrs=street --membergroup=admins --group=editors 'editors edit admins street'
When managing the list of attributes you need to include all attributes
- in the list, including existing ones. Add telephoneNumber to the list:
- ipa selfservice-mod --attrs=street,postalCode,l,c,st,telephoneNumber "User's manage their own address"
+ 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'
Display our updated rule:
- ipa selfservice-show "User's manage their own address"
+ ipa delegation-show 'editors edit admins street'
Delete a rule:
- ipa selfservice-del "User's manage their own address"
+ ipa delegation-del 'editors edit admins street'
"""
import copy