-
Notifications
You must be signed in to change notification settings - Fork 0
[$300] Roles setup for attachments #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Contest https://www.topcoder.com/challenges/30145275 has been created for this ticket. |
Contest https://www.topcoder.com/challenges/30145275 has been updated - it has been assigned to obog. |
@jmgasper Some questions:
The 'Garden.Uploads.Add' permission - upload images/attachments Role without The 'Garden.Uploads.Add' permission: Role has The 'Garden.Uploads.Add' permission: So we can set up some defaults.
We can set up all default Topcoder roles in advance. Is there Role API to get a list of available roles? I couldn't find any Role API to get all roles. I found a list of roles in the swagger file, but not sure if this is a complete list of roles: Is there a difference between 'admin' and 'administator' or are both roles the same?
|
|
@jmgasper Please apply PRs: Notes
I managed it. All Topcoder Roles are synchronized.
Vanilla has several role types (member, administrator, guest and others). Each role has a role type. I added a new role type named 'topcoder'. All Topcoder roles have 'topcoder' role type. TestingDisable and enable Topcoder plugin to get all Topcoder roles and set up permissions for member/copilot roles. Topcoder roles Roles
I can't upload image/attachment: TODOPlan to update challenge forum processor today. |
@jmgasper Please apply PR for a challenge forum processor:
|
@atelomycterus - Looks good from the screenshots, thanks! I'll be testing this today. |
@atelomycterus - Deployed in dev, but now login isn't working properly. We go through the login flow, but the user doesn't appear logged in in the UI. Any ideas? |
topcoder-platform/forums-plugins#33 has not been merged. |
@atelomycterus - Done now, sorry about that. 🤦 |
@jmgasper there is a space in a list of issuers. For quick fix you can update VALID ISSUERS. I'll update a code and remove spaces. |
Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30145275 |
Uh oh!
There was an error while loading. Please reload this page.
@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:
The text was updated successfully, but these errors were encountered: