-
Notifications
You must be signed in to change notification settings - Fork 160
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
New moderation and report processing flow #7535
Labels
Comments
This was referenced Mar 6, 2024
This was referenced Mar 14, 2024
This was referenced Apr 4, 2024
Merged
This was referenced Apr 18, 2024
This was referenced Apr 29, 2024
This was referenced May 7, 2024
This was referenced May 9, 2024
This was referenced May 24, 2024
This was referenced Jun 4, 2024
@isoos can we implement:
Ideally, next week. |
Closing as we seem to completed all pending tasks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The things we have to do are:
Moderation actions:
moderatedAt
andisModerated
onPackage
PackageVersion
Publisher
User
Package
(not available in API, public bucket, search, and web page says moderated)PackageVersion
(not available in API, public bucket, and web page says moderated)Publisher
(web page says moderated, packages owned by publisher can't be updated)User
(can't sign-in on pub.dev or publish usingdart pub
; packages owned exclusively by the user are marked discontinued)Package.isModerated/moderatedAt
PackageVersion.isModerated/moderatedAt
Publisher.isModerated/moderatedAt
User.isModerated/moderatedAt
--case=<caseId>
(use--case=none
)now() - moderatedAt > 3 years
(users are still just
user.isDeleted = true
withLikes
being deleted).In-take report form
notifications
Tracking cases
source = notification | trusted-flagger | authorities | legal-referral
Tracking user account moderation / blocked / suspended
reason = illegal-content | policy-violation | unfounded-notifications | unfounded-appeals
This will be extremely rare, we can probably track this with properties on the
User
entity.statistical reporting
Implementation details of
isModerated
/moderatedAt
To ensure that we reverse moderation decisions, we're going to add properties:
isModerated
,true
, if moderated, otherwisefalse
, and,moderateAt
, date-time when entity was moderated, otherwisenull
.We are adding these properties to the following entities:
Package
,PackageVersion
,Publisher
, and,User
.With the effect that being moderated means that:
include:unlisted
).We'll default to deleting entities and related resources 3 years after
moderatedAt
.When setting
isModerated
onPublisher
orUser
this can cause packages that are solely owned by said entity to be marked asisDiscontinued
. When clearingisModerated
we do not change this back, it's simply too much information to track.The text was updated successfully, but these errors were encountered: