solid-ac-checker

Hides an element from the page if the current user doesn’t have the required permissions on it.

<solid-ac-checker permission="acl:Write" bind-resources>
  <solid-route name="member-edit">
    <div>Edit</div>
  </solid-route>
</solid-ac-checker>

Mixins

This component uses the following mixins:

Please check their documentation to know more about their capabilities.

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: