Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 52 of 52 for getPermission (0.1 sec)

  1. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final OptionalThing<FessUserBean> userBean = ComponentUtil.getComponent(FessLoginAssist.class).getSavedUserBean();
            final String permissionKey = userBean.map(user -> StreamUtil.stream(user.getPermissions())
                    .get(stream -> stream.sorted().distinct().collect(Collectors.joining("\n")))).orElse(StringUtil.EMPTY);
    
            try {
                return facetCache.get(query + "\n" + permissionKey, () -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            if (fessConfig.isLdapAllowEmptyPermission()) {
                return true;
            }
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            for (final String permission : ldapUser.getPermissions()) {
                if (!systemHelper.isUserPermission(permission)) {
                    return true;
                }
            }
            return false;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top