..  include:: /Includes.rst.txt

..  _for-integrators:

===============
For integrators
===============

Properly configuring access permissions to the :sql:`sys_note` table is
essential to enable editors to effectively utilize this system extension.
Internal notes allow editors to document important information related to
specific pages, enhancing the overall usability and functionality of TYPO3
for your organization.

..  _for-integrators-configuration:

Administration / configuration
==============================

To ensure smooth operation of the "Internal notes" extension, it is important
to configure the necessary access permissions for editors. Editors must have
read and/or write access to the :sql:`sys_note` table in TYPO3. Without the
appropriate access permissions, editors may encounter issues when trying to
create, view, or modify notes.

..  _for-integrators-permissions:

User permissions configuration
==============================

Access to the :sql:`sys_note` table can be configured through TYPO3's backend
user access settings. Here is how you can configure the necessary permissions:

#.  Log in to the TYPO3 backend as an administrator.

#.  In the backend, navigate to the :guilabel:`Administration > Users` module.

#.  Create a new
    :ref:`Backend user group <t3coreapi:access-users-groups-groups>`,
    if you do not have one already.

    Go to tab :guilabel:`Record Permissions`.

#.  Activate the :guilabel:`Internal note` checkbox for both
    :guilabel:`Read & Write` access in field :guilabel:`Table permissions`.

    ..  figure:: /Images/sys_note_access.png
        :alt: Screenshot of the backend user group record, tab "Record permissions", field "Table permissions"

        Giving access to the :sql:`sys_note` table

#.  Save the changes.

By configuring access rights in this way, editors will have the necessary
permissions to create, edit, and view notes using the "Internal notes" extension.
This ensures that they can effectively use this feature to add context and
notes to pages within your TYPO3 installation.

Remember to regularly review and update access permissions as needed to
maintain security and compliance with your organization's requirements.

..  _permissions-dashboard:

Permissions to use the system note dashboard widgets
====================================================

If :composer:`typo3/cms-dashboard` is installed and your editors are using
the dashboard, it is recommended to grant them access to the special
system note widgets.

In module :guilabel:`Administration > Users > Backend user groups` edit the user
group in question. In tab :guilabel:`Module Permissions`, field
"Allowed dashboard widgets" allow the dashboard widgets related to the
system notes.

..  note::
    The backend user must have access to the :ref:`sys_note <for-integrators-permissions>`
    table and `view permissions <https://docs.typo3.org/permalink/t3coreapi:page-permissions>`_
    to the page where the record is located.

    The page must also be within the `DB Mounts <https://docs.typo3.org/permalink/t3coreapi:access-lists-db-mounts>`_
    of the user.
