AuthorityCheck

AuthorityCheck component help to check whether the current user has permmision to access, it can be use to display or hide some elements that require permmission by certain roles.

Example

example usage

API

AuthorityCheck
PropDescriptionTypeDefault
authorityList of roles that have rights to access the wrapped elementsArray[]
userAuthorityList of the user rolesArray[]