Skip to content
Snippets Groups Projects
Verified Commit c185466d authored by Daniel Hornung's avatar Daniel Hornung
Browse files

DOC: Fixed misleading permission documentation (#193).

parent e3165eec
Branches
Tags
1 merge request!96DOC: Added CITATION.cff to the list of files in the release guide where the...
Pipeline #34577 passed
...@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Documentation ### ### Documentation ###
- Nested queries. - Nested queries.
- Global entity permissions.
## [0.9.0] - 2023-01-19 ## [0.9.0] - 2023-01-19
......
...@@ -124,8 +124,8 @@ How to set permissions ...@@ -124,8 +124,8 @@ How to set permissions
---------------------- ----------------------
There are multiple ways to set role and entity permissions. The most There are multiple ways to set role and entity permissions. The most
common and best tested way currently is to set global default entity permissions common and best tested way currently is to set global default *entity* permissions
in the ``global_entity_permissions.xml`` config file, and role-based role in the ``global_entity_permissions.xml`` config file, and role-based *role*
permissions with the ``caosdb_admin.py`` `utility script permissions with the ``caosdb_admin.py`` `utility script
<https://gitlab.com/caosdb/caosdb-pylib/-/blob/main/src/caosdb/utils/caosdb_admin.py>`__ <https://gitlab.com/caosdb/caosdb-pylib/-/blob/main/src/caosdb/utils/caosdb_admin.py>`__
of CaosDB's Python library which is also used to `manage users and of CaosDB's Python library which is also used to `manage users and
...@@ -138,8 +138,8 @@ find a more detailed description of the possible ways of setting permissions. ...@@ -138,8 +138,8 @@ find a more detailed description of the possible ways of setting permissions.
you can set the default permissions that every entity on the server has. The you can set the default permissions that every entity on the server has. The
global default permissions can **only** be set in this file; all other ways global default permissions can **only** be set in this file; all other ways
below can only change the permissions of individual entities. Note that you below can only change the permissions of individual entities. Note that you
can add more rules but you can never remove rules set in the can add more rules in the ``global_entity_permissions.xml``, but you can not remove rules by
``global_entity_permissions.xml``. Thus, it might not be possible to overrule writing to this file. Thus, it might not be possible to overrule
permissions defined here (see :ref:`Permission permissions defined here (see :ref:`Permission
calculation<Calculation>`). Note also that, as the name suggests, only calculation<Calculation>`). Note also that, as the name suggests, only
:ref:`entity permissions<entity-permissions>` can be set this way. The :ref:`entity permissions<entity-permissions>` can be set this way. The
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment