Skip to content
Snippets Groups Projects
Verified Commit 3d183130 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Reword misleading error message in permission form

parent 99c2004d
No related branches found
No related tags found
1 merge request!1091Resolve "aleksis/core/forms.py: Weird phrase in ValidationError()"
Pipeline #87684 passed
......@@ -21,6 +21,11 @@ Changed
* Rewrite of frontend using Vuetify
* OIDC scope "profile" now exposes the avatar instead of the official photo
Fixed
~~~~~
* Error message in permission form was misleading.
Removed
~~~~~~~
......
......@@ -496,7 +496,7 @@ class AssignPermissionForm(forms.Form):
if not cleaned_data.get("objects") and not cleaned_data.get("all_objects"):
raise ValidationError(
_("You must grant the permission to all objects and/" "or to some objects.")
_("You must grant the permission to all objects or to specific objects.")
)
return cleaned_data
......
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