Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 49 for role (0.02 seconds)

  1. 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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.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: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

    public class AdminSearchlistAction extends FessAdminAction {
    
        /**
         * Default constructor.
         */
        public AdminSearchlistAction() {
            super();
        }
    
        /** Role name for admin search list operations */
        public static final String ROLE = "admin-searchlist";
    
        // ===================================================================================
        // Constant
        //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  4. 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: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java

            assertTrue(messages.hasMessageOf("doc.title"), "Required field 'title' should have error at 'doc.title' property");
            assertTrue(messages.hasMessageOf("doc.role"), "Required field 'role' should have error at 'doc.role' property");
            assertTrue(messages.hasMessageOf("doc.boost"), "Required field 'boost' should have error at 'doc.boost' property");
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 34.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

        }
    
        /**
         * Returns the action role for this admin action.
         *
         * @return the role name
         */
        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                return entity;
            });
        }
    
        /**
         * Registers available roles and labels for use in web config forms.
         * Includes role types, label types, and label setting configuration.
         *
         * @param data the render data to register the roles and labels with
         */
        protected void registerRolesAndLabels(final RenderData data) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  8. src/main/resources/fess_config.properties

    authentication.admin.users=admin
    # Admin role names for authentication.
    authentication.admin.roles=admin
    
    # Default permissions for search roles.
    role.search.default.permissions=
    # Default display permissions for search roles.
    role.search.default.display.permissions={role}guest
    # Guest permissions for search roles.
    role.search.guest.permissions={role}guest
    
    # Prefix for user roles in search.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  9. .github/workflows/update-perf-test-buckets.yml

        steps:
          - name: Checkout repository
            uses: actions/checkout@v6
          - name: configure aws credentials
            uses: aws-actions/configure-aws-credentials@v6
            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              aws-region: "eu-central-1"
          - name: get secrets
            uses: aws-actions/aws-secretsmanager-get-secrets@v3
            with:
              secret-ids: |
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 24 22:05:21 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  10. .github/workflows/cleanup-stale-performance-data.yml

          - name: Checkout repository
            uses: actions/checkout@v6
          
          - name: Configure AWS credentials
            uses: aws-actions/configure-aws-credentials@v6
            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              aws-region: "eu-central-1"
          
          - name: Get secrets
            uses: aws-actions/aws-secretsmanager-get-secrets@v3
            with:
              secret-ids: |
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 24 22:05:21 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top