diff --git a/docs/features/accesscontrol.rst b/docs/features/accesscontrol.rst index ca035d699..e285ab9ae 100644 --- a/docs/features/accesscontrol.rst +++ b/docs/features/accesscontrol.rst @@ -3,7 +3,7 @@ Access Control ============== -.. versionchanged:: 1.4.0 +.. versionchanged:: 1.5.0 OctoPrint's bundled access control feature allows granular permission control over which users or user groups are allowed to access which parts of OctoPrint. @@ -33,19 +33,15 @@ read-only access to the following parts of the UI: Logged in users without admin flag will be allowed to access everything besides the Settings and System Commands, which are admin-only. -If Access Control is disabled, everything is directly accessible. **That also -includes all administrative functionality as well as full control over the -printer**, and without the need for an :ref:`API key `! - Upon first start a configuration wizard is provided which allows configuration -of the first administrator account or alternatively disabling Access Control -(which is **NOT** recommended for systems that are directly accessible via the -internet or other untrusted networks!). +of the first administrator account to be used for OctoPrint. After initial setup, +you can then create more users under Settings > Access Control for customisation of +the granular permission system. .. hint:: If you plan to have your OctoPrint instance accessible over the internet, - **always enable Access Control** and ideally **don't make it accessible to + **please use additional security measures** and ideally **don't make it accessible to everyone over the internet but instead use a VPN** or at the very least HTTP basic authentication on a layer above OctoPrint. @@ -75,38 +71,3 @@ octoprint.plugin.loginui.theming ................................ See :ref:`here `. - -.. _sec-features-access_control-rerunning_wizard: - -Rerunning the wizard --------------------- - -In case Access Control was disabled in the configuration wizard, it is -possible to re-run it by editing ``config.yaml`` [#f1]_ and setting ``firstRun`` -in the ``server`` section and ``enabled`` in the ``accessControl`` section to -``true``: - -.. code-block-ext:: yaml - - accessControl: - enabled: true - # ... - server: - firstRun: true - -Then restart the server and connect to the web interface - the wizard should -be shown again. - -.. note:: - - If user accounts were created prior to disabling Access Control and those - user accounts are not to be used any more, remove ``.octoprint/users.yaml``. - If you don't remove this file, the above changes won't lead to the - configuration being shown again, instead Access Control will just be - enabled using the already existing login data. This is to prevent you from - resetting access control by accident. - -.. rubric:: Footnotes - -.. [#f1] For Linux that will be ``~/.octoprint/config.yaml``, for Windows it will be ``%APPDATA%/OctoPrint/config.yaml`` and for - Mac ``~/Library/Application Support/OctoPrint/config.yaml``