Beispiel #1
0
 protected Object valid() {
   CruiseConfig config = configForEditing();
   PipelineConfigs group = config.findGroup(groupName);
   return group.getCopyForEditing();
 }
Beispiel #2
0
 public boolean isUserAdminOfGroup(final CaseInsensitiveString userName, PipelineConfigs group) {
   return group.isUserAnAdmin(userName, rolesForUser(userName));
 }