Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 875 for admin (0.24 sec)

  1. tests/hooks_test.go

    	}
    
    	if s.Name == "Invalid" {
    		return errors.New("invalid")
    	}
    
    	return nil
    }
    
    func (s *Product2) BeforeUpdate(tx *gorm.DB) (err error) {
    	tx.Statement.Where("owner != ?", "admin")
    	return
    }
    
    func TestUseDBInHooks(t *testing.T) {
    	DB.Migrator().DropTable(&Product2{})
    	DB.AutoMigrate(&Product2{})
    
    	product := Product2{Name: "Invalid", Price: 100}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. cmd/kms-handlers_test.go

    	kmsVersionPath   = kmsURL + "/version"
    	kmsKeyCreatePath = kmsURL + "/key/create"
    	kmsKeyListPath   = kmsURL + "/key/list"
    	kmsKeyStatusPath = kmsURL + "/key/status"
    
    	// Admin API paths
    	// For example: /minio/admin/v3/kms/status
    	adminURL              = adminPathPrefix + adminAPIVersionPrefix
    	kmsAdminStatusPath    = adminURL + "/kms/status"
    	kmsAdminKeyStatusPath = adminURL + "/kms/key/status"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. docs/bucket/lifecycle/setup_ilm_transition.sh

    	echo "waiting until the object is tiered to run heal"
    	sleep 1s
    done
    ./mc stat sitea/bucket/README.md
    
    success=$(./mc admin heal -r sitea/bucket/README.md --json --force | jq -r 'select((.name == "bucket/README.md") and (.after.color == "green")) | .after.color == "green"')
    if [ "${success}" != "true" ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java

        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
            }
            runner.refresh();
            settings = Suggester.builder().build(runner.client(), id).settings();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            String[] groupNames = ldapUser.getGroupNames();
            assertNotNull(groupNames);
            assertEquals(0, groupNames.length);
        }
    
        public void test_isEditable_enabled() {
            // Test when admin is enabled for the user
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public boolean isLdapAdminEnabled(String name) {
                    assertEquals("testuser", name);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                public String getMailHostname() {
                    return "mail-host";
                }
    
                @Override
                public String getNotificationTo() {
                    return "admin@example.com";
                }
    
                @Override
                public String getMailFromAddress() {
                    return "******@****.***";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. cmd/testdata/xl-meta-merge.zip

    update directly from <https://dl.min.io>, optionally you can host any mirrors at <https://my-artifactory.example.com/minio/> - For deployments that installed the MinIO server binary by hand, use [`mc admin update`](https://min.io/docs/minio/linux/reference/minio-mc-admin/mc-admin-update.html) ```sh mc admin update <minio alias, e.g., myminio> ``` - For deployments without external internet access (e.g. airgapped environments), download the binary from <https://dl.min.io> and replace the existing MinIO...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
            }
            runner.refresh();
            settings = Suggester.builder().build(runner.client(), id).settings();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
            }
            runner.refresh();
            settings = Suggester.builder().build(runner.client(), id).settings();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. docs/distributed/distributed-from-config-file.sh

    	echo "unexpected object checksum, expected: ${expected_checksum} got: ${actual_checksum}"
    	exit
    fi
    
    # Compare the difference of the list of disks and their location, with the below expected output
    diff <(./mc admin info minio1 --json | jq -r '.info.servers[].drives[] | "\(.pool_index),\(.set_index),\(.disk_index) \(.endpoint)"' | sort) <(
    	cat <<EOF
    0,0,0 http://localhost:9001/tmp/xl/node9001/mnt/disk1
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 28 09:06:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top