Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
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-pylib
Commits
9b31e9f8
Commit
9b31e9f8
authored
2 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
FIX: Typos
parent
753b0dab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!71
Release 0.9
,
!64
F permission docs
Pipeline
#26946
passed
2 years ago
Stage: code_style
Stage: linting
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doc/gallery/curator-permissions.rst
+6
-6
6 additions, 6 deletions
src/doc/gallery/curator-permissions.rst
with
6 additions
and
6 deletions
src/doc/gallery/curator-permissions.rst
+
6
−
6
View file @
9b31e9f8
...
...
@@ -2,10 +2,10 @@
Setting permissions for a curator role
======================================
The following example shows how to crea
a
te and set permissions for a ``curator``
The following example shows how to create and set permissions for a ``curator``
role that is allowed to insert, update, or delete any entity apart from a set of
RecordTypes and properties that define a "core data model" which can only be
altered w
h
ith administration permissions.
altered with administration permissions.
In the following, you'll learn how to
...
...
@@ -43,7 +43,7 @@ this role. Assume you already have created and activated (see
.. note::
The ``test_curator`` user shouldn't have administration priv
e
leges, otherwise
The ``test_curator`` user shouldn't have administration priv
i
leges, otherwise
the below changes won't have any effect.
The core data model and caosdb-advanced-user-tools
...
...
@@ -55,7 +55,7 @@ or yaml file (just adapt lines 39-42 accordingly). In this example, we'll use th
developed b J. Schmidt at the `Leibniz Centre for Tropical Marine Research
<https://www.leibniz-zmt.de/en/>`_.
Clone the schema
s
into the same directory containing the below script via
Clone the schema
ta
into the same directory containing the below script via
.. code:: console
...
...
@@ -63,7 +63,7 @@ Clone the schemas into the same directory containing the below script via
Furthermore, we'll need the `CaosDB Advanced User Tools
<https://gitlab.com/caosdb/caosdb-advanced-user-tools>`_ for loading the
metadata schema
s
from the json files, so install them via
metadata schema
ta
from the json files, so install them via
.. code:: console
...
...
@@ -87,7 +87,7 @@ This means that, by default, all users with the ``curator`` role are **granted**
all entity permissions (including insert, update, and delete as specified in the
beginning) **with priority**. This ensures, that no normal user is allowed to
overrule these permissions (since it is granted with priority), but it can still
be denied for the core data model entities by a **deny** rule with prio
i
rty. See
be denied for the core data model entities by a **deny** rule with prior
i
ty. See
the server documentation on `permission
calculation <https://docs.indiscale.com/caosdb-server/permissions.html#permission-calculation>`_
for more information on which permission rules can or can't be overruled.
...
...
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