Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PolicyDBSet (0.06 sec)

  1. cmd/iam.go

    		return sys.store.ListGroups(ctx)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // PolicyDBSet - sets a policy for a user or group in the PolicyDB. This does
    // not validate if the user/group exists - that is the responsibility of the
    // caller.
    func (sys *IAMSys) PolicyDBSet(ctx context.Context, name, policy string, userType IAMUserType, isGroup bool) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    				entityName = foundUserDN.NormDN
    			}
    		}
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	updatedAt, err := globalIAMSys.PolicyDBSet(ctx, entityName, policyName, userType, isGroup)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    }
    
    // PolicyDBSet - update the policy mapping for the given user or group in
    // storage and in cache. We do not check for the existence of the user here
    // since users can be virtual, such as for:
    //   - LDAP users
    //   - CommonName for STS accounts generated by AssumeRoleWithCertificate
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
Back to top