Allow admins to edit all resources ✍️
Closed this issue · 2 comments
ramiAbdou commented
Description
In order to ensure the highest quality around our resources, we will allow admins to edit resources (ie: title, description, tags). We also have a ColorStack ambassador who will be moderating/updating content as well.
Acceptance Criteria
We need to introduce a notion of linking admins and members (b/c some admins have member accounts). We'll need to add a field such as member_id
on the admins
table, which references the students
table.
Then, when on the /resources
page, we should make the editable
true if the resource was either posted by the logged-in user or if the logged-in user is an admin (will need a query for this).
nicholasg2001 commented
I would love to give this a try!
ramiAbdou commented
You got it, @nicholasg2001!