Render another component if the permissions do not match
If permissions in the userPermissions
do not match the requiredPermissions
, the component is not rendered, and another one is rendered instead.
If permissions in the userPermissions
do not match the requiredPermissions
, the component is not rendered, and another one is rendered instead.