From 27ae9095639bb228a1b7ff86a3ebe4264abf05be Mon Sep 17 00:00:00 2001 From: mschaefers <mschaefers@scoop-gmbh.de> Date: Thu, 29 Nov 2012 12:33:09 -0500 Subject: [PATCH] feature: when using LdapUserService one can configure Gitblit to fetch all users from ldap that can possibly login. This allows to see newly generated LDAP users instantly in Gitblit. By now an LDAP user had to log in once to appear in GitBlit. --- src/com/gitblit/IUserService.java | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/src/com/gitblit/IUserService.java b/src/com/gitblit/IUserService.java index 8822d02..059d648 100644 --- a/src/com/gitblit/IUserService.java +++ b/src/com/gitblit/IUserService.java @@ -127,6 +127,15 @@ boolean updateUserModel(UserModel model); /** + * Updates/writes all specified user objects. + * + * @param models a list of user models + * @return true if update is successful + * @since 1.2.0 + */ + boolean updateUserModels(List<UserModel> models); + + /** * Adds/updates a user object keyed by username. This method allows for * renaming a user. * @@ -205,7 +214,8 @@ * @param teamnames * @return true if successful * @since 0.8.0 - */ + */ + @Deprecated boolean setTeamnamesForRepositoryRole(String role, List<String> teamnames); /** @@ -226,6 +236,15 @@ */ boolean updateTeamModel(TeamModel model); + /** + * Updates/writes all specified team objects. + * + * @param models a list of team models + * @return true if update is successful + * @since 1.2.0 + */ + boolean updateTeamModels(List<TeamModel> models); + /** * Updates/writes and replaces a complete team object keyed by teamname. * This method allows for renaming a team. @@ -277,6 +296,7 @@ * @param usernames * @return true if successful */ + @Deprecated boolean setUsernamesForRepositoryRole(String role, List<String> usernames); /** -- Gitblit v1.9.1