Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for permissionChanged (0.15 sec)

  1. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            activityHelper.permissionChanged(OptionalThing.empty());
            assertEquals("action:UPDATE_PERMISSION\tuser:-\tpermissions:-", localLogMsg.get());
    
            activityHelper.permissionChanged(createUser("testuser", new String[0]));
            assertEquals("action:UPDATE_PERMISSION\tuser:testuser\tpermissions:-", localLogMsg.get());
    
            activityHelper.permissionChanged(createUser("testuser", new String[] { "111", "222" }));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapUser.java

                        permissions = distinct(roles);
                        ComponentUtil.getActivityHelper().permissionChanged(OptionalThing.of(new FessUserBean(this)));
                    }), fessConfig.getRoleSearchUserPrefix() + ldapManager.normalizePermissionName(getName())));
                } else {
                    permissions = StringUtil.EMPTY_STRINGS;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            valueMap.put("path", path);
            valueMap.put("execute", execute);
            log(valueMap);
        }
    
        public void permissionChanged(final OptionalThing<FessUserBean> user) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
            valueMap.put("action", Action.UPDATE_PERMISSION.name());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top