-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: simplify {user,krbpolicy,pwpolicy}Utils
Added Datetime parser to `ipaObjectUtils.convertApiObj` so that it can converted attributes defined by `dateValues`. With this it's no longer needed to use the datetime parsing in former objectToUser. This and the fact that there is no usage of `objectToUser` with the second parameter, allowed to replace `objectToUser` with `partialUserToUser` and `createEmptyUser` functions that are much imore simpler and reusable. The same for pw and krb policy objects. Signed-off-by: Petr Vobornik <pvoborni@redhat.com>
- Loading branch information
Showing
4 changed files
with
140 additions
and
200 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
Oops, something went wrong.