.. _solid-ac-checker:
solid-ac-checker
================

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

.. code:: html

   <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:

  * :ref:`store-mixin <store-mixin>`


Please check their documentation to know more about their capabilities.

Personnal 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>`__


Mixin attributes
-----------------

.. include:: /import_documentation/Mixins/store-mixin.rst
  :start-line: 21
  :end-line: 122

.. include:: ../Mixins/store-mixin.rst
  :start-line: 21
  :end-line: 122

.. include:: /import_documentation/Mixins/store-mixin.rst


.. include:: ../Mixins/store-mixin.rst