对当前已认证用户执行授权检查。
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
String value representing the permission name to check for.
String value for the name of the resource to check permissions for.
An integer representing the resource type to check permissions for. See the User Guide for a list of integer representations of resource types.
The id of the resource to check permissions for. If left blank, a check for global permissions on the resource is performed.
The id of the user to check permissions for. The currently authenticated
user must have a READ permission for the Authorization resource. If userId is
blank, a check for the currently authenticated user is performed.
Request successful.
Name of the permission which was checked.
The name of the resource for which the permission check was performed.
The id of the resource for which the permission check was performed.
Returns true or false depending on whether the user is authorized or not.