forked from freeipa/freeipa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve sudooption docs, make the option multi-value
I don't know why this wasn't always multi-value but if one wanted to set multiple options they needed to call add-option multiple times. The LDAP attribute is already multi-value. This shouldn't cause API issues as it understood the attribute as multi-value just didn't expose it. Client output on the CLI will look a bit different: Added option "('one', 'two')" to Sudo Rule "test" or Added option "(u'one', u'Two')" to Sudo Rule "test" instead of with this change: Added option "one,two" to Sudo Rule "test" Removing an option works in a similar way. The value is normalized on the client side in order to ensure that the option value is always a tuple. https://pagure.io/freeipa/issue/2278 Signed-off-by: Rob Crittenden <[email protected]> Reviewed-By: Florence Blanc-Renaud <[email protected]>
- Loading branch information
1 parent
575074d
commit 47fbe05
Showing
5 changed files
with
105 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters