|
|
### `sib-ac-checker`
|
|
|
|
|
|
Hides an element from the page if the current user doesn't have the required permissions on it.
|
|
|
|
|
|
```html
|
|
|
<sib-ac-checker permission="acl:Write" bind-resources>
|
|
|
<sib-route name="member-edit">
|
|
|
<div>Edit</div>
|
|
|
</sib-route>
|
|
|
</sib-ac-checker>
|
|
|
```
|
|
|
|
|
|
**Attributes :**
|
|
|
|
|
|
- **`permission`**: Displays the element if the user has the specified right
|
|
|
- **`no-permission`**: Displays the element if the user has not the specified right
|
|
|
|
|
|
Possible values:
|
|
|
- [acl:Read](https://github.com/solid/web-access-control-spec#aclread)
|
|
|
- [acl:Write](https://github.com/solid/web-access-control-spec#aclwrite)
|
|
|
- [acl:Append](https://github.com/solid/web-access-control-spec#aclappend)
|
|
|
- [acl:Control](https://github.com/solid/web-access-control-spec#aclcontrol) |