-
Notifications
You must be signed in to change notification settings - Fork 212
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
Implementation Plan: Django admin moderator access control and base improvements #3494
Implementation Plan: Django admin moderator access control and base improvements #3494
Conversation
This is ready for early review, but I still need to do basic proofreading of it. However, I've covered all the basic elements of the implementation, so if @krysal or @stacimc, either of y'all take a look at this before it's marked ready for review again, that's totally fine, leave any comments you like 👍. |
@sarayourfriend I'll plan on taking a look Monday. Scheduling a synchronous review sounds good as well 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started reading, but my time today is over. I'll finish on Monday. Thanks for drafting this IP!
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
Full-stack documentation: https://docs.openverse.org/_preview/3494 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. New files ➕: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving a few comments, but for the most part all my questions were answered by the time I was done reading :) This is great work, and I appreciate the extensibility without increasing scope at this stage. If it is easier to chat synchronously about any of this I am happy to do so!
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
75c4ac6
to
aba1c7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The simplified proposal makes perfectly sense, and it is quite complete with the security details from CloudWatch and Terraform. Thank you!
From the comments I left, my main question is related to how it would change the report models, specifically on the status.
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
|
||
This is in three separate issues: | ||
|
||
1. Create a new media view to replace the existing view |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it still valuable to keep the current media detail view. In case someone needs to check something from a specific work having the uuid, it could be easier from the admin UI than accessing the production DB.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This view would retain all the functionality of the existing view. I can reword this to say extend, rather than replace. The view would still be registered as the model admin for the media items and would have all the same features, just with the additional moderation features added at the bottom of the current view and with the media data shown in an uneditable state for moderators.
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The updates look fantastic :) Really pleased with the flexibility of this approach!
need to generate reports for each of the works and action them, just a single | ||
`ModerationDecision` for each work with an appropriate action and consequence. | ||
This avoids need to create "fabricated" reports for bulk moderation actions that | ||
wouldn't have reports in the first place. _This is just a suggested additional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is excellent!
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Show resolved
Hide resolved
...fety/content_report_moderation/20231208-implementation_plan_django_admin_moderator_access.md
Outdated
Show resolved
Hide resolved
…rt_moderation/20231208-implementation_plan_django_admin_moderator_access.md Co-authored-by: Staci Mullins <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not see this formally went into the Decision round -- officially LGTM!
c8bb1de
to
4827f64
Compare
@stacimc @krysal I've updated the implementation plan with the new backfill for moderation decision and dropping report status. The plan is in the "proposal approval" stage, so please re-review and share any outstanding blockers that prevent the plan from moving forward, or confirm approval so we can move forward and I can create issues for the plan. I've set the deadline to 9 January to allow time for review. I will be on holiday from 15 Jan until basically the start of February, so I'd really like to be able to finish this plan and create the issues by the end of next week to avoid it pending until February, which would put it at nearly two months in review due to the holidays, AFK, and revisions. I'm not asking for an urgent approval, just for urgent reviews so that any outstanding true blockers can get addressed ASAP. If there are outstanding blockers, please anticipate scheduling synchronous time to discuss them in order to move the process along more quickly than the asynchronous discussion can manage. Thanks! Update: oops! I didn't see your comment, @stacimc, I hadn't refreshed the page in a while 😅 Krystle, please rereview when you can 🙏 |
Based on the medium urgency of this PR, the following reviewers are being gently reminded to review this PR: @dhruvkb Excluding weekend1 days, this PR was ready for review 13 day(s) ago. PRs labelled with medium urgency are expected to be reviewed within 4 weekday(s)2. @sarayourfriend, if this PR is not ready for a review, please draft it to prevent reviewers from getting further unnecessary pings. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect!
I've created the issues. Milestone is here: https://github.com/WordPress/openverse/milestone/22 |
Fixes
Fixes #1966 by @sarayourfriend
Description
@krysal @stacimc I've chosen y'all to review this plan with me. I'll ping y'all privately about this, but I'd like to schedule time to do a synchronous review, if possible, to avoid the long review process getting even further prolonged by my part-time work schedule.
This discussion is following the Openverse decision-making process. Information about this process can be found on the Openverse documentation site.
Requested reviewers or participants will be following this process. If you are being asked to give input on a specific detail, you do not need to familiarise yourself with the process and follow it.
Current round
This discussion is currently in the Proposal approval round.
The deadline for review of this round is 9 January 2024.
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin