- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for hasActionRole (1.86 sec)
-
src/main/webapp/WEB-INF/fe.tld
<function> <description>Check if user has a permission.</description> <name>permission</name> <function-class>org.codelibs.fess.taglib.FessFunctions</function-class> <function-signature>boolean hasActionRole(java.lang.String)</function-signature> <example>${fe:permission("admin-dashboard")}</example> </function>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jan 18 11:38:54 UTC 2025 - 10.3K bytes - Viewed (0) -
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)