mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-29 10:21:18 -06:00
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
This commit is contained in:
parent
b32d320922
commit
01929015e0
@ -40,11 +40,11 @@ of attributes of members of another group.
|
|||||||
EXAMPLES:
|
EXAMPLES:
|
||||||
|
|
||||||
Add a delegation rule to allow managers to edit employee's addresses:
|
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
|
When managing the list of attributes you need to include all attributes
|
||||||
in the list, including existing ones. Add postalCode to the list:
|
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:
|
Display our updated rule:
|
||||||
ipa delegation-show "managers edit employees' street"
|
ipa delegation-show "managers edit employees' street"
|
||||||
|
Loading…
Reference in New Issue
Block a user