...
Go to a specific URL (e.g. https://discussions.sunbird.org/abc123 ). Each URL is a separate forum space, therefore membership to one URL is not sufficient to see all other forums from other URLs.
Based on user profile:
If not logged in, user is prompted to sign-in.
If logged in, and user is not authenticated to see this forum, a wall saying “Please request authorities for access to this forum”. There should also be a button that user can tap to ‘request access’.
If logged in and access is enabled for this profile, user can see the discussion forum. Otherwise, user should not be able to see the discussion forum.
Admin capabilities:
Assign/remove moderator
Delete a discussion, post or comment
+ All abilities of moderator + member
Moderator capabilities:
Invite/remove user
See a list of users who are awaiting approval to join forum
There should be an option to accept all or reject all.
There should be the list of individual users, with the options to accept or reject. Each user should be accompanied with whether this is a verified state user, which state and block they belong to (and which school they belong to).
Archive a discussion, post or comment (equivalent to acting on a flag/report)
See list of reported posts:
Options should be available to ‘hide <discussion/post/comment>' or ‘allow’.
Block / ban users [akin to not allowing membership, posts, comments or votes]
+ all abilities of member
Member capabilities (based on permissions above):
Initiate a discussion
Initiate a discussion anonymously (if so, the role and district of the user should be visible, e.g. Teacher, Guntur district).
Reply as a post to a discussion
Delete own discussion or post
Upvote/downvote a discussion, post or comment
Sort posts in a discussion by newest / top-voted(default)
Sort discussions by newest / recently updated / top-voted.
User interface:
Allow sorting (globally across categories) based on popular (default) / new. On opening a particular category, the user can see sort options here also - popular (default) / new.
Each category should be opened up for limited viewing (Upto 5 posts), with a view more button below.
Order of categories should be customizable by the admin.
...