- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getGroup (0.04 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
*/ @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; groupService.getGroup(id).ifPresent(entity -> { copyBeanToBean(entity, form, op -> {}); }).orElse(() -> { throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.group; import static org.codelibs.fess.app.web.admin.group.AdminGroupAction.getGroup; import static org.codelibs.fess.app.web.admin.group.AdminGroupAction.validateAttributes; import java.util.List; import java.util.stream.Collectors; import org.apache.logging.log4j.LogManager;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
* * @param id the unique identifier of the group * @return an OptionalEntity containing the group if found, empty otherwise */ public OptionalEntity<Group> getGroup(final String id) { return groupBhv.selectByPK(id).map(g -> { ComponentUtil.getLdapManager().apply(g); return g; }); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
if (file.getUser() != null) { responseData.addMetaData(FTP_FILE_USER, file.getUser()); } if (file.getGroup() != null) { responseData.addMetaData(FTP_FILE_GROUP, file.getGroup()); } if (includeContent) { File tempFile = null; File outputFile = null; try {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 39.5K bytes - Viewed (0) -
cmd/admin-handlers-users.go
Type: madmin.SRIAMItemGroupInfo, GroupInfo: &madmin.SRGroupInfo{ UpdateReq: updReq, }, UpdatedAt: updatedAt, })) } // GetGroup - /minio/admin/v3/group?group=mygroup1 func (a adminAPIHandlers) GetGroup(w http.ResponseWriter, r *http.Request) { ctx := r.Context() objectAPI, _ := validateAdminReq(ctx, w, r, policy.GetGroupAdminAction) if objectAPI == nil { return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
// Test with empty groups testUser.setGroupNames(new String[] {}); assertNotNull(fessUserBean.getGroups()); assertEquals(0, fessUserBean.getGroups().length); // Test with single group testUser.setGroupNames(new String[] { "developers" }); String[] groups = fessUserBean.getGroups(); assertEquals(1, groups.length); assertEquals("developers", groups[0]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
public String[] getPermissions() { return user.getPermissions(); } public String[] getRoles() { return user.getRoleNames(); } public String[] getGroups() { return user.getGroupNames(); } public boolean isEditable() { return user.isEditable(); } public boolean hasRole(final String role) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
if (StringUtil.isEmpty(key) || userBean .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key))) || stream(user.getGroups()).get(stream -> stream.anyMatch(s -> (GROUP_VALUE_PREFIX + s).equals(key)))) .orElse(false)) { return p.getSecond(); } return null;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0)