Skip to content
Snippets Groups Projects
Commit 86722bad authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'f-permission-help' into 'dev'

{action}_entity_permissions help

See merge request !80
parents e9a0a698 4c6e6c38
No related branches found
No related tags found
2 merge requests!93Release 0.11.0,!80{action}_entity_permissions help
Pipeline #30731 passed
...@@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Documentation ### ### Documentation ###
* [Fixed](https://gitlab.com/caosdb/caosdb-pylib/-/issues/79) `{action}_entity_permissions` help line.
## [0.10.0] - 2022-11-14 ## [0.10.0] - 2022-11-14
(Florian Spreckelsen) (Florian Spreckelsen)
......
...@@ -621,8 +621,8 @@ USAGE ...@@ -621,8 +621,8 @@ USAGE
for action in ["grant", "deny", "revoke_denial", "revoke_grant"]: for action in ["grant", "deny", "revoke_denial", "revoke_grant"]:
action_entity_permissions_parser = subparsers.add_parser( action_entity_permissions_parser = subparsers.add_parser(
"{}_entity_permissions".format(action), f"{action}_entity_permissions",
help="{} entity permissions to a role.".format(action)) help=f"{action} entity permissions to one or more Entities.")
action_entity_permissions_parser.set_defaults( action_entity_permissions_parser.set_defaults(
call=do_action_entity_permissions, action=action) call=do_action_entity_permissions, action=action)
action_entity_permissions_parser.add_argument(dest="query", metavar="QUERY", action_entity_permissions_parser.add_argument(dest="query", metavar="QUERY",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment