Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetBucketUsers (0.1 sec)

  1. cmd/iam-store.go

    		}
    
    	}
    
    	return strings.Join(policies, ","), policy.MergePolicies(toMerge...)
    }
    
    // GetBucketUsers - returns users (not STS or service accounts) that have access
    // to the bucket. User is included even if a group policy that grants access to
    // the bucket is disabled.
    func (store *IAMStoreSys) GetBucketUsers(bucket string) (map[string]madmin.UserInfo, error) {
    	if bucket == "" {
    		return nil, errInvalidArgument
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.GetBucketUsers(bucket)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // ListUsers - list all users.
    func (sys *IAMSys) ListUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top