Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getMappedPolicyPath (0.12 sec)

  1. cmd/iam-etcd-store.go

    	if u.Credentials.IsExpired() {
    		// Delete expired identity.
    		deleteKeyEtcd(ctx, ies.client, getUserIdentityPath(user, userType))
    		deleteKeyEtcd(ctx, ies.client, getMappedPolicyPath(user, userType, false))
    		return nil
    	}
    	if u.Credentials.AccessKey == "" {
    		u.Credentials.AccessKey = user
    	}
    	if u.Credentials.SessionToken != "" {
    		jwtClaims, err := extractJWTClaims(u)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/iam-object-store.go

    		}
    		return u, err
    	}
    
    	if u.Credentials.IsExpired() {
    		// Delete expired identity - ignoring errors here.
    		iamOS.deleteIAMConfig(ctx, getUserIdentityPath(user, userType))
    		iamOS.deleteIAMConfig(ctx, getMappedPolicyPath(user, userType, false))
    		return u, errNoSuchUser
    	}
    
    	if u.Credentials.AccessKey == "" {
    		u.Credentials.AccessKey = user
    	}
    
    	if u.Credentials.SessionToken != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    	return pathJoin(iamConfigGroupsPrefix, group, iamGroupMembersFile)
    }
    
    func getPolicyDocPath(name string) string {
    	return pathJoin(iamConfigPoliciesPrefix, name, iamPolicyFile)
    }
    
    func getMappedPolicyPath(name string, userType IAMUserType, isGroup bool) string {
    	if isGroup {
    		return pathJoin(iamConfigPolicyDBGroupsPrefix, name+".json")
    	}
    	switch userType {
    	case svcUser:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top