-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Open
Type: Feature
Copy link
Milestone
Description
Issue description
Any time you submit an issue ticket via the Collabocate plugin (when dealing with a collabo community repo and using the community GitHub token), the username @collabo-user always shows up as the person who submits on the issue tickets. The problem with this is that we cannot identify the particular user who submits an issue. We only want @collabo-user to be used to submit the ticket if user does not have a GitHub account or specify that they have.
Expected behaviour
- Users that have GitHub account and specify/authorize GitHub to use their account, should be able to submit issue tickets with their own user name on the issue, to show that they authored it.
- Users that do not have a GitHub account or didn't specify/authorize GitHub to use their account, should retain the use of @collabo-user as the author of the issue ticket, to show it's by anonymous user.
Screenshot

Additional context
- Repo URL: https://github.com/collabo-community/collabocate
- According to Github, it seems we've been using GitHub App installation access tokens, the reason why the @collabo-user username always gets used for user submission (i.e. if they have a github account, their GitHub account is not being used). You can explore the GitHub App user access tokens to see if we can get to have user accounts to do the submission of issues: https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user
Testing checklist
Note (to contributor taking on this task assignment): Add the testing checklist below (without this note) to your pull request when submitting your fix. This will guide (you and) the contributors who will review your fix to know what is important to check or test for.
- Users that have GitHub account and authorized Github to use it, are now able to submit issue tickets with their own user name on the issue, to show that they authored it.
- Users that do not have a GitHub account or that didn't specify/authorize GitHub to use their account, retain the use of @collabo-user as the author of the issue ticket, to show it's by anonymous user.
- I certify that I ran my checklist
Metadata
Metadata
Assignees
Type
Projects
Status
Tickets In Progress