Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PolicyDBUpdateBuiltin (0.24 sec)

  1. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    
    	return updatedAt, nil
    }
    
    // PolicyDBUpdateBuiltin - adds or removes policies from a user or a group
    // verified to be an internal IDP user.
    func (sys *IAMSys) PolicyDBUpdateBuiltin(ctx context.Context, isAttach bool,
    	r madmin.PolicyAssociationReq,
    ) (updatedAt time.Time, addedOrRemoved, effectivePolicies []string, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    		return
    	}
    
    	if err = par.IsValid(); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	updatedAt, addedOrRemoved, _, err := globalIAMSys.PolicyDBUpdateBuiltin(ctx, isAttach, par)
    	if err != nil {
    		if err == errNoSuchUser || err == errNoSuchGroup {
    			if globalIAMSys.LDAPConfig.Enabled() {
    				// When LDAP is enabled, warn user that they are using the wrong
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top