Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 47 for Cole (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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/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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

             */
            public synchronized void setGroups(final String[] groups) {
                this.groups = groups;
            }
    
            /**
             * Sets the user's role assignments.
             * @param roles Array of role names.
             */
            public synchronized void setRoles(final String[] roles) {
                this.roles = roles;
            }
    
            /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

    public class AdminWizardAction extends FessAdminAction {
    
        /**
         * Default constructor.
         */
        public AdminWizardAction() {
            super();
        }
    
        /** Role name for admin wizard operations */
        public static final String ROLE = "admin-wizard";
    
        // ===================================================================================
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  9. tests/test_jsonable_encoder.py

        data = ModelV1(name="test")
        with pytest.raises(PydanticV1NotSupportedError):
            jsonable_encoder(data)
    
    
    def test_encode_model_with_config():
        model = ModelWithConfig(role=RoleEnum.admin)
        assert jsonable_encoder(model) == {"role": "admin"}
    
    
    def test_encode_model_with_alias_raises():
        with pytest.raises(ValidationError):
            ModelWithAlias(foo="Bar")
    
    
    def test_encode_model_with_alias():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        // ===================================================================================
        //
    
        /**
         * Displays the general settings index page.
         *
         * @return HTML response for the general settings page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top