The wix-auth module contains functionality for working with permissions.
To use the Wix Auth API import * as wixAuth from the wix-auth module:
* as wixAuth
wix-auth