Giter VIP home page Giter VIP logo

Comments (8)

phillipj avatar phillipj commented on August 15, 2024 1

Didn't somebody else build something like this already?

https://github.com/williamkapke/orgbot

Remember some discussions about using that bot, but I don't recall which repo / issues those discussions were in.

from automation.

gibfahn avatar gibfahn commented on August 15, 2024 1

Sounds great, but there is already a bot, called orgbot, written by @williamkapke , see e.g. nodejs/community-committee#22 and nodejs/TSC#51.

The problem is in getting people to try it. Using it in the test org probably makes sense to try it.

from automation.

ChALkeR avatar ChALkeR commented on August 15, 2024 1

@ryanmurakami

a key that can block users

Due to GitHub limitations, that's not just a key that can block users, afaik.
That's a token that can ยซFully manage organization, teams, and membershipsยป, e.g.:

  1. Block users
  2. Add/remove members to the org
  3. Add/remove teams to the org
  4. Add/remove admins to the org

I'm pretty much -1 on issuing such a token and adding it to a publically-available app, even if that app will implement some authentication mechanism, until @github implements a better permissions model.

from automation.

joyeecheung avatar joyeecheung commented on August 15, 2024

@IonicaBizau Glad that you are reaching out and want to help building an app!

I believe the moderation team members are now owners of the org as well, so the permission should not be an issue if they are the only users of that app - in fact I think we have to make them owners precisely because we don't have an app (or bot) that handles the actual operation.

You can use https://github.com/TestOrgPleaseIgnore to test out the app. I can send you an invitation if you want to use it. When the app is ready, we can just switch whatever settings necessary so that it can start working in this organization.

cc @nodejs/moderation for what the app needs, and @nodejs/build for what we need to deploy it for this organization.

from automation.

ryanmurakami avatar ryanmurakami commented on August 15, 2024

@IonicaBizau Thanks for getting this started! One aspect I was thinking of was security, because if the app is given a key that can block users, then access to the app needs to be authenticated as well. The Moderation Team has a Slack channel that we use for communication. I'm curious if the app/bot could be built as a Slack bot and we'd rely on the private Slack channel as the security? I'm not familiar enough with how Slack operates to know if that would be secure enough.

from automation.

IonicaBizau avatar IonicaBizau commented on August 15, 2024

@ryanmurakami I've never build a Slack bot, but I guess it shouldn't be complicated.

As far I understand, the app would be deployed somewhere and connect to the GitHub API endpoints. On given commands, Slack would make requests to the app.

Wouldn't it be easy to have OAuth authentication directly in the app and rely on GitHub for permissions (e.g. a user without privileges, will obviously not have access to (un)block users)?

To know the context:

  • What are the current manual tasks moderators need to do?
  • How similar are these, compared to other organizations (let's say, for example, the GitHub Electron team)?
  • What are the current GitHub limitations why such an app would be needed? I understood that one of them is to set a reminder to review the banned users after an amount of days.
  • Didn't somebody else build something like this already? What similar tools are there?

from automation.

benjamingr avatar benjamingr commented on August 15, 2024

Oh hey @IonicaBizau fancy seeing you here :) Thanks for picking this up, the moderation team would love to work with you in order to help automate the tasks the moderation team performs.

I recommend we create an automation room in the nodejs-moderation slack and add @IonicaBizau as a room-member (as well as other interested parties).

from automation.

Trott avatar Trott commented on August 15, 2024

Unarchived this repo so I could close all the PRs and issues. Will re-archive when I'm done.

from automation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.