Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakarFin committed Mar 30, 2023
1 parent 96554a6 commit 7b81c14
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ public boolean modifyBundle(final ModifierParams params) throws ModifierExceptio
return false;
}

/**
* If users are managed in external source any changes to them are usually overwritten when they login.
* So we can disable the fields that are and updates that can happen to users to make the admin UI more user-friendly.
* @return
*/
public static boolean isUsersFromExternalSource() {
return PropertyUtil.getOptional("oskari.user.external", false);
}
Expand Down

0 comments on commit 7b81c14

Please sign in to comment.