|
| 1 | +:navigation-title: Administrator |
| 2 | + |
| 3 | +.. include:: /Includes.rst.txt |
| 4 | +.. _backend-users-admin: |
| 5 | + |
| 6 | +=========================== |
| 7 | +TYPO3 backend administrator |
| 8 | +=========================== |
| 9 | + |
| 10 | +Each administrator that uses the TYPO3 backend should have their own personal |
| 11 | +backend user account. This allows you to see who made which changes later on. |
| 12 | + |
| 13 | +The administrator account that was automatically created for you during |
| 14 | +`Installation <https://docs.typo3.org/permalink/t3start:installation-index>`_ |
| 15 | +has the widest rights possible and is a System Maintainer. The System Maintainer |
| 16 | +is an Administrator who can also see and use the section |
| 17 | +`Admin Tools <https://docs.typo3.org/permalink/t3start:admin-tools>`_ in the |
| 18 | +backend. |
| 19 | + |
| 20 | +.. tip:: |
| 21 | + If your Backend User account does not seem to work for some reason, check |
| 22 | + chapter `Troubleshooting common TYPO3 backend login |
| 23 | + problems <https://docs.typo3.org/permalink/t3start:troubleshooting-backend-login>`_. |
| 24 | + |
| 25 | +.. contents:: Table of Contents |
| 26 | + :local: |
| 27 | + :depth: 1 |
| 28 | + |
| 29 | +.. _backend-users-admin-creation: |
| 30 | + |
| 31 | +Creating a TYPO3 backend administrator |
| 32 | +====================================== |
| 33 | + |
| 34 | +There are 3 ways to create a new TYPO3 backend administrator: |
| 35 | + |
| 36 | +.. contents:: Table of Contents |
| 37 | + :local: |
| 38 | + :depth: 1 |
| 39 | + |
| 40 | +.. _backend-users-admin-cli: |
| 41 | + |
| 42 | +Create an administrator using a console command |
| 43 | +----------------------------------------------- |
| 44 | + |
| 45 | +In DDEV or on a server if you can use the console there is a console |
| 46 | +command to create a new administrator: |
| 47 | + |
| 48 | +.. tabs:: |
| 49 | + |
| 50 | + .. group-tab:: DDEV |
| 51 | + |
| 52 | + .. code-block:: bash |
| 53 | +
|
| 54 | + ddev typo3 backend:user:create |
| 55 | +
|
| 56 | + .. group-tab:: On server |
| 57 | + |
| 58 | + .. code-block:: bash |
| 59 | +
|
| 60 | + vendor/bin/typo3 backend:user:create |
| 61 | +
|
| 62 | +When prompted answer that you want to create an administrator. If they should |
| 63 | +also be a system maintainer, answer yes during the prompt. |
| 64 | + |
| 65 | +.. _backend-users-admin-backend-module: |
| 66 | + |
| 67 | +Using the backend module "Backend Users" to create admins |
| 68 | +--------------------------------------------------------- |
| 69 | + |
| 70 | +The first administrator got created for you during |
| 71 | +`Installation <https://docs.typo3.org/permalink/t3start:installation-index>`_. |
| 72 | + |
| 73 | +When you log into the backend (See `Backend login <https://docs.typo3.org/permalink/t3start:backend-login>`_) |
| 74 | +you can go to module `Backend Users <https://docs.typo3.org/permalink/t3start:system-modules-backend-users>`_ |
| 75 | +and create a new administrator there. |
| 76 | + |
| 77 | +.. figure:: /Images/ManualScreenshots/BackendUser/CreateUser.png |
| 78 | + :alt: Screenshot of the "Backend Users" module demonstrating the location of the "Create new backend user" button in the module header |
| 79 | + |
| 80 | + Open the module :guilabel:`System > Backend Users` and click on "Create new backend user" |
| 81 | + |
| 82 | +When creating the user check the "Admin" option: |
| 83 | + |
| 84 | +.. figure:: /Images/ManualScreenshots/BackendUser/CreateAdmin.png |
| 85 | + :alt: The Admin option is the first option in the tab "General" in the backend user edit form |
| 86 | + |
| 87 | + When you check the Admin option the form needs to reload once. Answer the dialogue with "OK". |
| 88 | + |
| 89 | +You can :ref:`Grant System Maintainer rights <backend-users-system-maintainer>` |
| 90 | +in the Admin Tools later on. |
| 91 | + |
| 92 | +.. _backend-users-admin-install-tool: |
| 93 | + |
| 94 | +Using the Install Tool to create an administrator |
| 95 | +------------------------------------------------- |
| 96 | + |
| 97 | +Access the Install Tool at `https://my-site.ddev.site/typo3/install.php` using |
| 98 | +the Install Tool password defined during the installation process. |
| 99 | + |
| 100 | +.. figure:: /Images/ManualScreenshots/BackendUser/InstallTool.png |
| 101 | + :alt: The Install Tool: Create Administrative User, Create new administrative users and grant them system maintainer privileges (optional). |
| 102 | + |
| 103 | + In the module "Maintenance" module use the button "Create Administrator". |
| 104 | + |
| 105 | +If they should be a System Maintainer check the box. |
| 106 | + |
| 107 | +.. _backend-users-system-maintainer: |
| 108 | + |
| 109 | +Granting System Maintainer rights |
| 110 | +================================= |
| 111 | + |
| 112 | +.. note:: |
| 113 | + You must be logged in with a System Maintainer account or use the |
| 114 | + Install Tool to grant System Maintainer rights. In |
| 115 | + `Application context Development <https://docs.typo3.org/permalink/t3start:application-context>`_ |
| 116 | + all backend administrators can use the module. |
| 117 | + |
| 118 | +Using the module :guilabel:`Admin Tools > Settings` and card |
| 119 | +"Manage System Maintainers Access" you can manage which administrator accounts |
| 120 | +should be granted "System Maintainer" rights. |
| 121 | + |
| 122 | +.. figure:: /Images/ManualScreenshots/BackendUser/ManageSystemMaintainers.png |
| 123 | + :alt: "Manage System Maintainers" window in the Admin Tools. |
| 124 | + |
| 125 | + Disabled backend admins are marked with [DISABLED], you can choose them any way. |
| 126 | + |
| 127 | +On saving the changes are written to file :file:`config/system/settings.php` |
| 128 | +therefore this file needs to be writable. |
| 129 | + |
| 130 | +If your installation also has a file called :file:`config/system/additional.php` |
| 131 | +the settings can be overridden here. In this case changes you make in the |
| 132 | +Admin Tools do not take effect. |
| 133 | + |
| 134 | +A setting overriding the System Maintainer list could look like this: |
| 135 | + |
| 136 | +.. code-block:: php |
| 137 | + :caption: config/system/additional.php |
| 138 | +
|
| 139 | + $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemMaintainers'] => [ |
| 140 | + 1, |
| 141 | + 3, |
| 142 | + 42 |
| 143 | + ]; |
| 144 | +
|
| 145 | +This setting is also documented in |
| 146 | +:ref:`systemMaintainers <t3coreapi:confval-globals-typo3-conf-vars-sys-systemmaintainers>`. |
0 commit comments