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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-pylib
Commits
86722bad
Commit
86722bad
authored
2 years ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Plain Diff
Merge branch 'f-permission-help' into 'dev'
{action}_entity_permissions help See merge request
!80
parents
e9a0a698
4c6e6c38
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!93
Release 0.11.0
,
!80
{action}_entity_permissions help
Pipeline
#30731
passed
2 years ago
Stage: code_style
Stage: linting
Stage: setup
Stage: test
Stage: deploy
Changes
2
Pipelines
6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
src/caosdb/utils/caosdb_admin.py
+2
-2
2 additions, 2 deletions
src/caosdb/utils/caosdb_admin.py
with
4 additions
and
2 deletions
CHANGELOG.md
+
2
−
0
View file @
86722bad
...
...
@@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Documentation ###
*
[
Fixed
](
https://gitlab.com/caosdb/caosdb-pylib/-/issues/79
)
`{action}_entity_permissions`
help line.
## [0.10.0] - 2022-11-14
(Florian Spreckelsen)
...
...
This diff is collapsed.
Click to expand it.
src/caosdb/utils/caosdb_admin.py
+
2
−
2
View file @
86722bad
...
...
@@ -621,8 +621,8 @@ USAGE
for
action
in
[
"
grant
"
,
"
deny
"
,
"
revoke_denial
"
,
"
revoke_grant
"
]:
action_entity_permissions_parser
=
subparsers
.
add_parser
(
"
{}_entity_permissions
"
.
format
(
action
)
,
help
=
"
{} entity permissions to
a role.
"
.
format
(
action
)
)
f
"
{
action
}
_entity_permissions
"
,
help
=
f
"
{
action
}
entity permissions to
one or more Entities.
"
)
action_entity_permissions_parser
.
set_defaults
(
call
=
do_action_entity_permissions
,
action
=
action
)
action_entity_permissions_parser
.
add_argument
(
dest
=
"
query
"
,
metavar
=
"
QUERY
"
,
...
...
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