Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Have Gooey manage a role/team approach on IRC/Slack for allowing further access to commands #5

Open
3 tasks
Cervator opened this issue Jun 10, 2014 · 0 comments

Comments

@Cervator
Copy link
Member

Cervator commented Jun 10, 2014

Worked with @simplyianm on this in the past (original issue: MovingBlocks/TeraMisc#12) and it was working partially. Need to refresh/replace that with a nice fully functional approach. Could be either "role" or "team" - there was just some existing functionality in Hubot that supported "role"

Idea is that with a single command on IRC by an admin Gooey will:

  • Permanently "Voice" the user on IRC - this as far as I understand requires the user to be registered/identified on IRC and a non-identified user would thus be unable to impersonate said user to get Voice. So really a security precaution
  • Give the user a "role" matching the name of a module, which is really adding the user to a group/team behind the scenes (stored in Gooey's brain on Heroku). This is to authorize the user to engage with Gooey on commands related to that module repo (but only if also Voiced)

Sample full command (taken from the old issue, optional in square brackets):

Gooey [please] create repo MyModule for AlbireoX [who is simplyianm on GitHub]

Should also support the role/voice piece separately
Gooey [please] give AlbireoX role MyModule

This issue just needs the first two steps, the remainder can be placeholders until they're added.

  • Validation to pattern match on the role/team/module would be a nice extra (force it to start with a capital letter and avoid special characters)

Additional thoughts:

  • It may be worthwhile letting role memberships expire for IRC-based users. Otherwise there is a risk a nick could go inactive and be dropped, then reclaimed by another user. Although probably that would wipe any voice rights or similar from a user account being reset?
  • It should probably be possible to ask Gooey who is in a role (reply privately if needed)
  • We may need the option to track IRC and Slack differently if a user has different nicks, similar if user there doesn't match a user on GitHub.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2582831-have-gooey-manage-a-role-team-approach-on-irc-slack-for-allowing-further-access-to-commands?utm_campaign=plugin&utm_content=tracker%2F983091&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F983091&utm_medium=issues&utm_source=github).
@Cervator Cervator changed the title Role / team based administration Have Gooey manage a role/team approach on IRC/Slack for allowing further access to commands Aug 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant