Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PolicyDBUpdate (0.2 sec)

  1. cmd/iam.go

    		if isGroup {
    			oldDN = r.Group
    		} else {
    			oldDN = r.User
    		}
    		if oldDN != dn {
    			sys.store.PolicyDBUpdate(ctx, oldDN, isGroup, stsUser, r.Policies, isAttach)
    		}
    	}
    
    	userType := stsUser
    	updatedAt, addedOrRemoved, effectivePolicies, err = sys.store.PolicyDBUpdate(
    		ctx, dn, isGroup, userType, r.Policies, isAttach)
    	if err != nil {
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/iam-store.go

    		cache.iamGroupPolicyMap.Range(func(k string, _ MappedPolicy) bool {
    			res = append(res, k)
    			return true
    		})
    	}
    	return
    }
    
    // PolicyDBUpdate - adds or removes given policies to/from the user or group's
    // policy associations.
    func (store *IAMStoreSys) PolicyDBUpdate(ctx context.Context, name string, isGroup bool,
    	userType IAMUserType, policies []string, isAttach bool) (updatedAt time.Time,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top