Challenge Overview
@atelomycterus - One thing we have to check is if we can appropriately handle roles from Topcoder in Vanilla, and have them match up.
For instance, when a user logs in, we should pull their roles from the JWT and ensure those roles are added as available roles in Vanilla, if they aren't already roles in Vanilla. This way we can easily approach permissions using the roles already set up on the Topcoder side. By default, for any new roles added, we won't allow any permissions, but it's expected that the user will have multiple roles, like "member" and "copilot", or "admin" and "copilot".
We'll also need to set up some defaults, for instance:
- Regular members will not be able to attach files to posts
- Copilots will be able to attach files to posts