Skip to content
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

Ozone should have an option to associate labels with lists #166

Open
heikadog opened this issue Aug 22, 2024 · 2 comments
Open

Ozone should have an option to associate labels with lists #166

heikadog opened this issue Aug 22, 2024 · 2 comments
Labels
backend specific to the ozone backend service big-project Larger chunks of work feature New feature or request

Comments

@heikadog
Copy link

heikadog commented Aug 22, 2024

I run a third-party labeler which has associated modlists for each label. Our current workflow is based on tooling from the now-defunct moderation service Aegis: https://github.com/aegis-blue/ozone-tooling

However, this is inefficient in practice. To set it up, this requires operators to:

  • Know this exists
  • Clone the repo onto their server
  • Install the required dependencies
  • Edit the associated credentials
  • And edit the ruby script they wish to use

...which I could do, but it could be a limiting factor for users who are less experienced with the terminal.

Additionally, every time I wish to go through the report queue and associate an account label with a modlist on the labeler account, I have to:

  • Log in and SSH into the server
  • Change directory into the folder the ruby script is in
  • Run the ruby script

And, if they don't have access to this script but wish to have labels associated with lists, operators would have to go to the labeler account and list manually, which is prone to operators potentially forgetting to do this and modlists users could rely on not being updated.

It'd be much easier for operators to label and list accounts if this functionality were automated and built into Ozone.

@bnewbold
Copy link
Collaborator

Very reasonable request!

We have thought about incorporating mod list management in to Ozone, so adding/removing would be an action like adding a label. This isn't an immediate line of work, but happy to leave this issue open as a feature request to track it.

There is a bit of weirdness where mod lists are based on records in an atproto repo, so the ozone backend would need to be able to authenticate and do repo operations on a linked account/PDS. And there are different scaling properties for mod lists than labels: labels should scale to hundreds of millions of labeled accounts, while mod lists probably top out in the hundreds-of-thousands/low-millions account/list relationships (so fewer accounts if they are on multiple lists).

I haven't looked at the Ruby script you've mentioned, but Ozone has an API for subscribing to either the stream of labels (as public websocket) or the full stream of actions (using admin auth token). Either of those could be the basis of a bot that turns mod actions in ozone into mod list actions on a repo. The "tag" system in ozone in particular could be used to control list membership (if that is different, by policy, from label values; maybe they are the same for your setup).

@bnewbold bnewbold added feature New feature or request backend specific to the ozone backend service big-project Larger chunks of work labels Aug 25, 2024
@heikadog
Copy link
Author

it's here and we use it in production @ Laelaps, my labeler (listbot.rb): https://github.com/aegis-blue/ozone-tooling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend specific to the ozone backend service big-project Larger chunks of work feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants