Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PolicyDBUpdateLDAP (0.08 sec)

  1. cmd/admin-handlers-idp-ldap.go

    	if err := par.IsValid(); err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL)
    		return
    	}
    
    	// Call IAM subsystem
    	updatedAt, addedOrRemoved, _, err := globalIAMSys.PolicyDBUpdateLDAP(ctx, isAttach, par)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	respBody := madmin.PolicyAssociationResp{
    		UpdatedAt: updatedAt,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. cmd/iam.go

    			Policy:      strings.Join(effectivePolicies, ","),
    		},
    		UpdatedAt: updatedAt,
    	}))
    
    	return
    }
    
    // PolicyDBUpdateLDAP - adds or removes policies from a user or a group verified
    // to be in the LDAP directory.
    func (sys *IAMSys) PolicyDBUpdateLDAP(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)
Back to top