The publication of card indexes and reps must be moderated
When ever a user creates a new cardset that is set to "Free" or "THM" an admin gets a request to to make the cardset public until then its private.
If a user makes changes to his or her own cardset it gets an extra label(eg. "CHANGED") and an Admin get notified to confirm the changes. Confirmation removes the label.
When ever a user creates or changes a "Free" or "THM" cardset he gets a notification to confirm that an Admin gets notified and/or the cardset gets labled. Declining prevents the user from saving the changes(only confirming saves the changes).
Admins get a detailed list in the backend about all visibility and cardset changes( what got changed? Who? What cardset? What visibility got requested?).
Move the notification bell from the backend to the frontend too.
///old Issue description ///////////////////////////////////////////////////////////////////////////////////////////////////
If the access to a card index or a Rep is set to "Free" or "THM" by the student, this change comes into the moderation of an administrator. The student gets a hint. The admin finds the requests in the backend.
A cardset becomes "private" if the user commits changes to the cardset or cards.
Only do these checks for normal students. Admins and moderators are excluded from these checks.