usePermissions will return a list from the server for you formatted for use in your UI.
usePermissions
const permissions = usePermissions();
Last updated 1 year ago