Closed famaniel closed 4 years ago
The roles are now changed in a way, that the system behaves in the following way:
There is still an issue when displaying the status before saving. To hide the "is Godmother"-flag, some Java-Script is needed, because rails cannot modify any interactive elements once they are displayed, without reloading the page (at least, I didn't find out how).
Merged and closed the issue with master branch
As with resolving issue 17, the status of being godmother is independent from a user's role (although mentees cannot be godmothers). If a person who is a god mother cannot attend congress, or for any other reason, also be a mentor, they can be made godmother only. A person who is in the godmother-only role has to be a godmother. Therefore the UI needs to provide the following