Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 563 for role (0.19 sec)

  1. src/main/java/org/codelibs/fess/app/service/RoleTypeService.java

            return roleTypeList;
        }
    
        /**
         * Gets a role type by its ID.
         * @param id The ID of the role type.
         * @return An optional entity of the role type.
         */
        public OptionalEntity<RoleType> getRoleType(final String id) {
            return roleTypeBhv.selectByPK(id);
        }
    
        /**
         * Stores a role type.
         * @param roleType The role type to store.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

    public class AdminDictStopwordsAction extends FessAdminAction {
    
        /**
         * Default constructor.
         */
        public AdminDictStopwordsAction() {
            super();
        }
    
        /** The role for this action. */
        public static final String ROLE = "admin-dict";
    
        private static final Logger logger = LogManager.getLogger(AdminDictStopwordsAction.class);
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

            runtime.registerData("helpLink", systemHelper.getHelpLink(fessConfig.getOnlineHelpNameKeymatch()));
        }
    
        /**
         * Returns the action role for this admin action.
         *
         * @return the role name
         */
        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

        /**
         * Default constructor.
         */
        public AdminDuplicatehostAction() {
            super();
        }
    
        /**
         * Role name for duplicate host administration.
         */
        public static final String ROLE = "admin-duplicatehost";
    
        private static final Logger logger = LogManager.getLogger(AdminDuplicatehostAction.class);
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            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 })
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

            runtime.registerData("helpLink", systemHelper.getHelpLink(fessConfig.getOnlineHelpNameJoblog()));
        }
    
        /**
         * Returns the action role for this admin action.
         *
         * @return the role name
         */
        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.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 })
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

        /**
         * Default constructor.
         */
        public AdminFailureurlAction() {
            super();
        }
    
        /**
         * Role name for failure URL administration.
         */
        public static final String ROLE = "admin-failureurl";
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. tests/scanner_valuer_test.go

    	}
    }
    
    type Role struct {
    	Name string `gorm:"size:256"`
    }
    
    func (role *Role) Scan(value interface{}) error {
    	if b, ok := value.([]uint8); ok {
    		role.Name = string(b)
    	} else {
    		role.Name = value.(string)
    	}
    	return nil
    }
    
    func (role Role) Value() (driver.Value, error) {
    	return role.Name, nil
    }
    
    func (role Role) IsAdmin() bool {
    	return role.Name == "admin"
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top