Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasActionRole (0.64 sec)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param role the role to check (supports both view and edit variants)
         * @return true if the user has the role or admin privileges, false otherwise
         */
        public static boolean hasActionRole(final String role) {
            final String[] roles;
            if (role.endsWith(FessAdminAction.VIEW)) {
                roles = new String[] { role, role.substring(0, role.length() - FessAdminAction.VIEW.length()) };
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
Back to top