Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for checkKMSActionAllowed (0.06 seconds)

  1. cmd/kms-handlers.go

    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, resp)
    }
    
    // checkKMSActionAllowed checks for authorization for a specific action on a resource.
    func checkKMSActionAllowed(r *http.Request, owner bool, cred auth.Credentials, action policy.KMSAction, resource string) bool {
    	return globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 10.1K bytes
    - Click Count (0)
Back to Top