Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 55 for Cole (0.05 seconds)

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

                    for (final String role : roles) {
                        if (StringUtil.isNotEmpty(role)) {
                            roleSet.add(role);
                        }
                    }
                }
            } else {
                final String[] roles = rolesStr.split(roleSeparator);
                for (final String role : roles) {
                    if (StringUtil.isNotEmpty(role)) {
                        roleSet.add(role);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. tests/test_schema_compat_pydantic_v2.py

            username: str
            role: PlatformRole | OtherRole
    
        @app.get("/users")
        async def get_user() -> User:
            return {"username": "alice", "role": "admin"}
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_get(client: TestClient):
        response = client.get("/users")
        assert response.json() == {"username": "alice", "role": "admin"}
    
    
    @needs_py310
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

        }
    
        /**
         * Returns the action role for this admin action.
         *
         * @return the role name
         */
        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        // ===================================================================================
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Show the list page.
         * @param pageNumber The page number.
         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asHtml(path_AdminDesign_AdminDesignJsp).useForm(DesignForm.class);
        }
    
        /**
         * Go back to the index page.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse back() {
            saveToken();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         */
        protected void addRoleAttributes(final BasicAttributes entry, final Role user) {
            // nothing
        }
    
        /**
         * Deletes a role from the LDAP directory.
         *
         * @param role the role object to delete
         */
        public void delete(final Role role) {
            if (!fessConfig.isLdapAdminEnabled()) {
                return;
            }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 86.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        /**
         * Displays the storage management index page.
         *
         * @return HTML response for the storage list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml(StringUtil.EMPTY);
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

        /**
         * Default constructor for AdminMaintenanceAction.
         */
        public AdminMaintenanceAction() {
            super();
        }
    
        /**
         * Role identifier for admin maintenance operations.
         */
        public static final String ROLE = "admin-maintenance";
    
        // ===================================================================================
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. src/main/resources/fess_config.properties

    # Whether to use samAccountName for LDAP group.
    ldap.samaccountname.group=false
    
    # Whether LDAP role search for user is enabled.
    ldap.role.search.user.enabled=true
    # Whether LDAP role search for group is enabled.
    ldap.role.search.group.enabled=true
    # Whether LDAP role search for role is enabled.
    ldap.role.search.role.enabled=true
    
    # LDAP attribute for surname.
    ldap.attr.surname=sn
    # LDAP attribute for given name.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 54.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        /**
         * Checks if the current user has the specified action role or administrative privileges.
         *
         * @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)) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
Back to Top