diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ec4a545a24572aca782ac94846749cd234760e1..0d63406b65c1d466c69cd6e90593bc8ce3095734 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/caosdb/utils/caosdb_admin.py b/src/caosdb/utils/caosdb_admin.py index 9fb94f57683036f5432a40198cc4ae98893665fb..09a8f64a3c6b9f0825089949840a8791604d1ded 100755 --- a/src/caosdb/utils/caosdb_admin.py +++ b/src/caosdb/utils/caosdb_admin.py @@ -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",