Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,464 for Permission (0.07 seconds)

  1. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            assertNotNull(timeout.getCause());
    
            // Scenario 3: Permission denied
            CommandExecutionException permissionDenied = new CommandExecutionException("Permission denied: cannot execute command");
            assertTrue(permissionDenied.getMessage().contains("Permission denied"));
    
            // Scenario 4: Exit code error
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

         * @param loggerName The logger name.
         */
        public void setLoggerName(final String loggerName) {
            this.loggerName = loggerName;
        }
    
        /**
         * Set the permission separator.
         * @param permissionSeparator The permission separator.
         */
        public void setPermissionSeparator(final String permissionSeparator) {
            this.permissionSeparator = permissionSeparator;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                }, errorHook);
            }
        }
    
        /**
         * Encodes permission strings into an array.
         *
         * @param permissionsText the permissions text (newline-separated)
         * @return encoded permission array
         */
        protected static String[] encodePermissions(final String permissionsText) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Checks if a permission string is a user permission.
         *
         * @param permission The permission string.
         * @return true if it is a user permission, false otherwise.
         */
        public boolean isUserPermission(final String permission) {
            if (StringUtil.isNotBlank(permission)) {
                return permission.startsWith(ComponentUtil.getFessConfig().getRoleSearchUserPrefix());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  5. docs/en/docs/how-to/conditional-openapi.md

    * Make sure you have well defined Pydantic models for your request bodies and responses.
    * Configure any required permissions and roles using dependencies.
    * Never store plaintext passwords, only password hashes.
    * Implement and use well-known cryptographic tools, like pwdlib and JWT tokens, etc.
    * Add more granular permission controls with OAuth2 scopes where needed.
    * ...etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            fileProtocols[fileProtocols.length - 1] = prefix;
        }
    
        /**
         * Checks if the given URL is a file path protocol that requires directory and permission handling.
         * Used for incremental crawling directory detection and file permission processing.
         *
         * @param url the URL to check
         * @return true if the URL uses a file path protocol (smb, smb1, file, ftp, s3, gcs)
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  7. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertArrayEquals(permissions, user.getPermissions());
    
            // Test with empty permissions
            permissions = new String[] {};
            user = new TestFessUser("testuser", new String[] {}, new String[] {}, permissions);
            assertArrayEquals(permissions, user.getPermissions());
    
            // Test with null permissions
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    This would allow you to have a more fine-grained permission system, following the OAuth2 standard, integrated into your OpenAPI application (and the API docs).
    
    OAuth2 with scopes is the mechanism used by many big authentication providers, like Facebook, Google, GitHub, Microsoft, X (Twitter), etc. They use it to provide specific permissions to users and applications.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. CONTRIBUTING.md

    commit.
    
    Contributor License Agreement
    -----------------------------
    
    Contributions to any Google project must be accompanied by a Contributor
    License Agreement. This is not a copyright _assignment_; it simply gives
    Google permission to use and redistribute your contributions as part of the
    project.
    
      - If you are an individual writing original source code and you're sure you
        own the intellectual property, then you'll need to sign an [individual
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 17:53:05 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            assertEquals("read", permissions[0]);
    
            // Test with multiple permissions
            testUser.setPermissions(new String[] { "read", "write", "delete" });
            permissions = fessUserBean.getPermissions();
            assertEquals(3, permissions.length);
            assertEquals("read", permissions[0]);
            assertEquals("write", permissions[1]);
            assertEquals("delete", permissions[2]);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top