Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for deleteMappedPolicy (0.21 sec)

  1. cmd/iam-store.go

    			// Add a fallback removal towards previous content that may come back
    			// as a ghost user due to lack of delete, this change occurred
    			// introduced in PR #11840
    			store.deleteMappedPolicy(ctx, name, regUser, false)
    		}
    		err := store.deleteMappedPolicy(ctx, name, userType, isGroup)
    		if err != nil && !errors.Is(err, errNoSuchPolicy) {
    			return updatedAt, err
    		}
    		if !isGroup {
    			if userType == stsUser {
    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-etcd-store.go

    	err := ies.deleteIAMConfig(ctx, getPolicyDocPath(name))
    	if err == errConfigNotFound {
    		err = errNoSuchPolicy
    	}
    	return err
    }
    
    func (ies *IAMEtcdStore) deleteMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool) error {
    	err := ies.deleteIAMConfig(ctx, getMappedPolicyPath(name, userType, isGroup))
    	if err == errConfigNotFound {
    		err = errNoSuchPolicy
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    	err := iamOS.deleteIAMConfig(ctx, getPolicyDocPath(name))
    	if err == errConfigNotFound {
    		err = errNoSuchPolicy
    	}
    	return err
    }
    
    func (iamOS *IAMObjectStore) deleteMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool) error {
    	err := iamOS.deleteIAMConfig(ctx, getMappedPolicyPath(name, userType, isGroup))
    	if err == errConfigNotFound {
    		err = errNoSuchPolicy
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top