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.
| Prop | Description | Type | Default |
|---|---|---|---|
| authority | List of roles that have rights to access the wrapped elements | Array | [] |
| userAuthority | List of the user roles | Array | [] |