[2pts] Conditions - Official Account
As a general administrator, I can create a new condition to allow participant that are officialized to do action, and forbid other
- A name
Validation
- Given I create the condition Official Account with the name
Is Official
- Then the a participant that is official does not trigger the condition
- Given I create the condition Official Account with the name
Is Official
- Then the a participant that is not official trigger the condition
Tasks
-
Add the condition to the condition registry -
Display the condition in the condition table -
i18n for title, subtitle, form labels and errors -
admin form Decidim::Form -
command: check if current user is officialized
Edited by Renato