diff --git a/invenio_config_tugraz/permissions/roles.py b/invenio_config_tugraz/permissions/roles.py index 3e63254..6739ff4 100644 --- a/invenio_config_tugraz/permissions/roles.py +++ b/invenio_config_tugraz/permissions/roles.py @@ -9,13 +9,13 @@ """`RoleNeed`s for permission policies. To use these roles, add them to the database via: - `$ invenio roles create tugraz_authenticated_user --description "..."` + `$ invenio roles create tugraz_authenticated --description "..."` then add roles to users via: - `$ invenio roles add user@email.com tugraz_authenticated_user` + `$ invenio roles add user@email.com tugraz_authenticated` """ from flask_principal import RoleNeed # using `flask_principal.RoleNeed`` instead of `invenio_access.SystemRoleNeed`, # because these roles are assigned by an admin rather than automatically by the system -tugraz_authenticated_user = RoleNeed("tugraz_authenticated_user") +tugraz_authenticated_user = RoleNeed("tugraz_authenticated")