Hubs-Foundation / hubs-cloud

Resources for self hosted Hubs Cloud instances
Mozilla Public License 2.0
152 stars 95 forks source link

Moderation web hook for text, urls and images #31

Open OurBigAdventure opened 4 years ago

OurBigAdventure commented 4 years ago

Would it be possible to add a web hook for user submitted text, urls and images? We would like to integrate moderation tools if possible.

What I imagine is a url for Hubs to send the user generated content to (if it exists) and a callback for the remote system to return true/false/string where

• 'string' is an updated string containing any word replacements • 'true' would continue with the content post • 'false' would simply cancel the post

Implementation of the moderation tool would be up to the admin user.

┆Issue is synchronized with this Jira Task

gfodor commented 4 years ago

can you give a more detailed example? i'd like to avoid adding external extensibility points like this if we can, and see if there are ways to adjust the UX or slightly extend existing features to support the use case. for example, would it be reasonable for a person to use the chat system to send suggested links to the moderator, who then would be the only one with the permission to spawn media?

OurBigAdventure commented 4 years ago

I know a use case would be to have kids using Hubs in a controlled environment but there is another use case where kids create their own rooms and invite their friends to explore with them.

We can't always guarantee that there would be a person available to moderate every room so we would like to be able to pass user input through a tool like Azure Content Moderator or Amazon Rekognition to filter NSFK content.

I understand that not everyone will need that feature and I don't expect you guys to support every tool but having a way for us to extend the platform, would allow us to implement our business rules for content moderation on our own.