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
479cbf43
Commit
479cbf43
authored
2 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Merge old text on possible actions and entity permissions
parent
86828884
No related branches found
No related tags found
1 merge request
!67
DRAFT: F permission docs
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/doc/entity-permission-table.rst
+1
-1
1 addition, 1 deletion
src/doc/entity-permission-table.rst
src/doc/permissions.rst
+19
-18
19 additions, 18 deletions
src/doc/permissions.rst
with
20 additions
and
19 deletions
src/doc/entity-permission-table.rst
+
1
−
1
View file @
479cbf43
.. _Entity Permissions:
.. _Entity Permissions
Table
:
Entity Permissions
==================
...
...
This diff is collapsed.
Click to expand it.
src/doc/permissions.rst
+
19
−
18
View file @
479cbf43
...
...
@@ -49,6 +49,25 @@ Role permissions
Entity permissions
******************
As the name suggests, entity permissions define what a certain user or role is
allowed to do with a specific entity. Thus, entity permissions can be used to,
e.g., deny everone but administration users to update or delete a specific
record types, or to allow everyone to retrieve a specific record. See the
:ref:`Entity permissions table` for a full list of possible entity
permissions. Typical permissions are:
- ``RETRIEVE:ENTITY``: To retrieve the full entity (name,
description, data type, …) with all parents and properties (unless
prohibited by another rule on the property level).
- ``RETRIEVE:ACL``: To retrieve the full and final ACL of this
entity.
- ``RETRIEVE:ENTITY:1234``: To retrieve the entity ``1234``.
- ``RETRIEVE:*:1234``: For all “retrieve” actions concerning the
entity ``1234``.
.. _Calculation:
Permission calculation
...
...
@@ -68,24 +87,6 @@ undefined), the action can not take place. In other words, if you have
not been given the permission explicitly at some point, you don’t have
it.
Possible actions
----------------
Until it is completely added to this documentation, a detailed description of
the actions governed by these permissions can be found in :ref:`Entity permissions`
Typical permissions are:
- ``RETRIEVE:ENTITY``: To retrieve the full entity (name,
description, data type, …) with all parents and properties (unless
prohibited by another rule on the property level).
- ``RETRIEVE:ACL``: To retrieve the full and final ACL of this
entity.
- ``RETRIEVE:ENTITY:1234``: To retrieve the entity ``1234``.
- ``RETRIEVE:*:1234``: For all “retrieve” actions concerning the
entity ``1234``.
Administration permissions
**************************
...
...
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