Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for updateMap (0.07 sec)

  1. cmd/bucket-metadata-sys.go

    		})
    		if err != nil {
    			return updatedAt, fmt.Errorf("Error encrypting bucket target metadata %w", err)
    		}
    		meta.BucketTargetsConfigUpdatedAt = updatedAt
    		meta.BucketTargetsConfigMetaUpdatedAt = updatedAt
    	default:
    		return updatedAt, fmt.Errorf("Unknown bucket %s metadata update requested %s", bucket, configFile)
    	}
    
    	return updatedAt, sys.save(ctx, meta)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    		cache.iamUserGroupMemberships[member] = gset
    	}
    
    	cache.updatedAt = time.Now()
    	return gi.UpdatedAt, nil
    }
    
    // RemoveUsersFromGroup - removes users from group, deleting it if it is empty.
    func (store *IAMStoreSys) RemoveUsersFromGroup(ctx context.Context, group string, members []string) (updatedAt time.Time, err error) {
    	if group == "" {
    		return updatedAt, errInvalidArgument
    	}
    
    	cache := store.lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  3. cmd/iam.go

    	if !sys.Initialized() {
    		return updatedAt, errServerNotInitialized
    	}
    
    	updatedAt, err = sys.store.UpdateServiceAccount(ctx, accessKey, opts)
    	if err != nil {
    		return updatedAt, err
    	}
    
    	sys.notifyForServiceAccount(ctx, accessKey)
    	return updatedAt, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    		return
    	}
    
    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketQuotaConfigFile, data)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	bucketMeta := madmin.SRBucketMeta{
    		Type:      madmin.SRBucketMetaTypeQuotaConfig,
    		Bucket:    bucket,
    		Quota:     data,
    		UpdatedAt: updatedAt,
    	}
    	if quotaConfig.Size == 0 && quotaConfig.Quota == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    	}
    
    	vars := mux.Vars(r)
    	group := vars["group"]
    	status := vars["status"]
    
    	var (
    		err       error
    		updatedAt time.Time
    	)
    	switch status {
    	case statusEnabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, true)
    	case statusDisabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, false)
    	default:
    		err = errInvalidArgument
    	}
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  6. cmd/admin-handlers-idp-ldap.go

    		return
    	}
    
    	// Call IAM subsystem
    	updatedAt, addedOrRemoved, _, err := globalIAMSys.PolicyDBUpdateLDAP(ctx, isAttach, par)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	respBody := madmin.PolicyAssociationResp{
    		UpdatedAt: updatedAt,
    	}
    	if isAttach {
    		respBody.PoliciesAttached = addedOrRemoved
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. docs/distributed/samples/myminio-iam-info.zip

    iam-assets/user_mappings.json {} iam-assets/group_mappings.json {} iam-assets/stsuser_mappings.json {"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io":{"version":0,"policy":"consoleAdmin","updatedAt":"2024-09-09T15:59:59.399979442Z"},"uid=dillon,ou=people,ou=swengg,dc=min,dc=io":{"version":0,"policy":"consoleAdmin","updatedAt":"2024-09-09T16:00:03.729549302Z"}}...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		return
    	}
    
    	updatedAt, err := globalBucketMetadataSys.Delete(ctx, bucket, bucketTaggingConfig)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, madmin.SRBucketMeta{
    		Type:      madmin.SRBucketMetaTypeTags,
    		Bucket:    bucket,
    		UpdatedAt: updatedAt,
    	}))
    
    	// Write success response.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  9. internal/http/headers.go

    	MinIOReplicationActualObjectSize = "X-Minio-Replication-Actual-Object-Size"
    
    	// predicted date/time of transition
    	MinIOTransition            = "X-Minio-Transition"
    	MinIOLifecycleCfgUpdatedAt = "X-Minio-LifecycleConfig-UpdatedAt"
    	// MinIOCompressed is returned when object is compressed
    	MinIOCompressed = "X-Minio-Compressed"
    
    	// SUBNET related
    	SubnetAPIKey = "x-subnet-api-key"
    )
    
    // Common http query params S3 API
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

            "policy": "consoleAdmin",
            "updatedAt": "2024-04-17T23:54:28.442998301Z"
        },
        "mygroup": {
            "version": 0,
            "policy": "consoleAdmin",
            "updatedAt": "2024-04-23T21:34:43.66922872Z"
        },
        "cn=project.c,ou=groups,OU=swengg,DC=min,DC=io": {
            "version": 0,
            "policy": "consoleAdmin",
            "updatedAt": "2024-04-17T20:54:28.442998301Z"
        }
    }
    `,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top