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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Commits
86828884
Commit
86828884
authored
2 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Replace transaction by role permissions
parent
7549a5ef
No related branches found
No related tags found
1 merge request
!67
DRAFT: F permission docs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doc/permissions.rst
+6
-6
6 additions, 6 deletions
src/doc/permissions.rst
with
6 additions
and
6 deletions
src/doc/permissions.rst
+
6
−
6
View file @
86828884
...
@@ -37,11 +37,11 @@ A Permission Rule consists of:
...
@@ -37,11 +37,11 @@ A Permission Rule consists of:
below.
below.
There are two complementing types of permission rules that will be explained
There are two complementing types of permission rules that will be explained
below:
transaction
permissions and entity permissions.
below:
role
permissions and entity permissions.
.. _
transaction
-permissions:
.. _
role
-permissions:
Transaction
permissions
Role
permissions
***********************
***********************
.. _entity-permissions:
.. _entity-permissions:
...
@@ -106,9 +106,9 @@ used for administration users and in no other case. So, ...
...
@@ -106,9 +106,9 @@ used for administration users and in no other case. So, ...
How to set permissions
How to set permissions
----------------------
----------------------
There are multiple ways to set
transaction
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
transaction
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
...
@@ -126,7 +126,7 @@ find a more detailed description of the possible ways of setting permissions.
...
@@ -126,7 +126,7 @@ find a more detailed description of the possible ways of setting permissions.
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
role-based :ref:`
transaction
-permissions<
transaction
-permissions>` have to be
role-based :ref:`
role
-permissions<
role
-permissions>` have to be
set with one of the other ways explained below.
set with one of the other ways explained below.
- **API:** Both REST and GRPC API allow to set the permissions. This hasn't been
- **API:** Both REST and GRPC API allow to set the permissions. This hasn't been
documented properly yet, but for the GRPC API, `the specification
documented properly yet, but for the GRPC API, `the specification
...
...
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