Comments (8)
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.
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.
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.:
- Block users
- Add/remove members to the org
- Add/remove teams to the org
- 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.
@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.
@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.
@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.
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.
Unarchived this repo so I could close all the PRs and issues. Will re-archive when I'm done.
from automation.
Related Issues (20)
- Should Automation take ownership of make-node-meeting? HOT 6
- What about a related project for @nodejs/automation projects utils? HOT 19
- Proposing to form a monorepo HOT 14
- Can we automate appending changelogs to a release HOT 3
- Side effect: Working with Build WG to change description on Nodejs.org ? HOT 9
- CitGM testing Node-Core-Utils? HOT 10
- Include collaborators/team members in the README? HOT 8
- Idea: A twitter bot to thank new contributors HOT 4
- greenkeeper-like feature for ncu-team HOT 5
- Use ncu-team in create-node-meeting-artifacts HOT 1
- avoid CI typos HOT 6
- Tool for generating/maintaining/auditing CODEOWNER file HOT 12
- doc REPLACEME linter/fixer HOT 3
- Commit Queue HOT 8
- explore k8s prow as a way to automate stuff in github HOT 4
- Github team management (reply here if you want to join) HOT 33
- Node.js clone repo for testing HOT 6
- Brigade HOT 3
- Repo and npm accesses of related projects HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automation.