Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Commits
c185466d
Verified
Commit
c185466d
authored
2 years ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Fixed misleading permission documentation (
#193
).
parent
e3165eec
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!96
DOC: Added CITATION.cff to the list of files in the release guide where the...
Pipeline
#34577
passed
2 years ago
Stage: info
Stage: setup
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
src/doc/permissions.rst
+4
-4
4 additions, 4 deletions
src/doc/permissions.rst
with
5 additions
and
4 deletions
CHANGELOG.md
+
1
−
0
View file @
c185466d
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/doc/permissions.rst
+
4
−
4
View file @
c185466d
...
@@ -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 n
ever
remove rules
set in the
can add more rules
in the ``global_entity_permissions.xml``,
but you can n
ot
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment