You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* remove dependency to matrix-auth
the only thing used from matrix-auth was the validation of user names
Since matrix auth added a separation between users and groups the UI was
broken when matrix-auth 3.0 or newer was installed.
* fix icon
* Update src/main/java/com/michelin/cio/hudson/plugins/rolestrategy/RoleBasedAuthorizationStrategy.java
Co-authored-by: Alexander Stohr <[email protected]>
* dedup code for image
* require a post to for checking name
* use POST to check the names
need to align with the RequirePOST on the
doCheckName method in the descriptor
* use iconset and icon classes
avoids the differentiation of jenkins version
* use the qualified url of the icon
Co-authored-by: Alexander Stohr <[email protected]>
returnFormValidation.error(e,"Failed to test the validity of the group name "+v);
986
+
}
987
+
988
+
// couldn't find it. it doesn't exist
989
+
returnFormValidation.respond(FormValidation.Kind.ERROR, ValidationUtil.formatNonExistentUserGroupValidationResponse(ev, "User or group not found")); // TODO i18n
990
+
} catch (Exceptione) {
991
+
// if the check fails miserably, we still want the user to be able to see the name of the user,
Copy file name to clipboardexpand all lines: src/main/resources/com/michelin/cio/hudson/plugins/rolestrategy/RoleStrategyConfig/assign-global-roles.jelly
Copy file name to clipboardexpand all lines: src/main/resources/com/michelin/cio/hudson/plugins/rolestrategy/RoleStrategyConfig/assign-project-roles.jelly
Copy file name to clipboardexpand all lines: src/main/resources/com/michelin/cio/hudson/plugins/rolestrategy/RoleStrategyConfig/assign-slave-roles.jelly
0 commit comments