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

[feature] Update role configuration when somebody changes his username. #1

Open
heming6666 opened this issue Jan 15, 2020 · 2 comments

Comments

@heming6666
Copy link

Since we use username (such as 'Tom', 'Jack') in the configuration of role info, if somebody changes his username (for example, from 'Tom' to 'Tom2'), the original configuration would be out-of-date. So maybe we need a kind of mechanism to remind the user or the someone else to update the configuration.

"role": {
    "version": 1,
    "roles": [
      {
        "name": "committer",
        "description": "Committer of the project",
        "users": [ "Tom", "Jack" ],
        "commands": [ "/difficulty"]
      }
    ]
  }
@kitewu
Copy link

kitewu commented Jan 15, 2020

This is the same as file-private-config hypertrons#211

@frank-zsy
Copy link
Contributor

Maybe not exactly same, because we can not get webhook if a user change his login, so we need a regular check for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants