check( )


Checks permissions for a subscriber on a channel or resource.

Runs the permissions handler appropriate for the subscriber on the specified channel or resource.

Learn more about permission resolution.

Method Declaration
Copy
Method Parameters
channelChannelRequired

Channel or resource to check permissions for.


subscriberSubscriberRequired

Subscriber to check permissions for.

Returns
Return Type:Promise<ChannelPermissions>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?