Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetPolicyForUserOrGroup (0.1 sec)

  1. cmd/admin-router.go

    		// Set user or group policy
    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/set-user-or-group-policy").
    			HandlerFunc(adminMiddleware(adminAPI.SetPolicyForUserOrGroup)).
    			Queries("policyName", "{policyName:.*}", "userOrGroup", "{userOrGroup:.*}", "isGroup", "{isGroup:true|false}")
    
    		// Attach/Detach policies to/from user or group
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    		UpdatedAt: updatedAt,
    	}))
    }
    
    // SetPolicyForUserOrGroup - sets a policy on a user or a group.
    //
    // PUT /minio/admin/v3/set-policy?policy=xxx&user-or-group=?[&is-group]
    //
    // Deprecated: This API is replaced by attach/detach policy APIs for specific
    // type of users (builtin or LDAP).
    func (a adminAPIHandlers) SetPolicyForUserOrGroup(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    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