You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "Startrekzky (via GitHub)" <gi...@apache.org> on 2023/03/02 09:52:39 UTC

[GitHub] [incubator-devlake] Startrekzky opened a new issue, #4571: [Feature][Auth] Test connection also tests token permissions

Startrekzky opened a new issue, #4571:
URL: https://github.com/apache/incubator-devlake/issues/4571

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Use case
   
   I used an existing GitHub token to collect GitHub data with DevLake. When I input it in the data connection page and clicked `Test Connection`, it showed `success`. However, when I started to run BP, the pipeline failed.
   
   It turned out that the token I used did not meet the permission required by DevLake. It's an old token so I was not sure about its permissions.
   
   I think the better experience is to prompt `fail` when testing a token without the requried permissions.
   
   ### Description
   
   Follow the token permissions in the manuals
   - [ ] Test [GitHub token's permissions](https://devlake.apache.org/docs/next/Configuration/GitHub#github-personal-access-tokensrecommended)
   - [ ] Test [GitLab token's permissions](https://devlake.apache.org/docs/next/Configuration/GitLab#gitlab-personal-access-tokens)
   - [ ] Test Jira token's permissions @mindlesscloud 
   - [ ] or more
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4571: [Feature][Auth] Test connection also tests token permissions

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4571:
URL: https://github.com/apache/incubator-devlake/issues/4571#issuecomment-1613945968

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] closed issue #4571: [Feature][Auth] Test connection also tests token permissions

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4571: [Feature][Auth] Test connection also tests token permissions
URL: https://github.com/apache/incubator-devlake/issues/4571


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] closed issue #4571: [Feature][Auth] Test connection also tests token permissions

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4571: [Feature][Auth] Test connection also tests token permissions
URL: https://github.com/apache/incubator-devlake/issues/4571


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4571: [Feature][Auth] Test connection also tests token permissions

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4571:
URL: https://github.com/apache/incubator-devlake/issues/4571#issuecomment-1567615975

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4571: [Feature][Auth] Test connection also tests token permissions

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4571:
URL: https://github.com/apache/incubator-devlake/issues/4571#issuecomment-1552241061

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4571: [Feature][Auth] Test connection also tests token permissions

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4571:
URL: https://github.com/apache/incubator-devlake/issues/4571#issuecomment-1510006680

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4571: [Feature][Auth] Test connection also tests token permissions

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4571:
URL: https://github.com/apache/incubator-devlake/issues/4571#issuecomment-1631674499

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] jakezhu9 commented on issue #4571: [Feature][Auth] Test connection also tests token permissions

Posted by "jakezhu9 (via GitHub)" <gi...@apache.org>.
jakezhu9 commented on issue #4571:
URL: https://github.com/apache/incubator-devlake/issues/4571#issuecomment-1471566731

   Hi! I'm interested in this feature. However, I was looking through some documents and I noticed that we might not be able to get permissions for some tokens, like gitlab, directly. How should we check in this case? Does anyone have a good idea?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] Startrekzky commented on issue #4571: [Feature][Auth] Test connection also tests token permissions

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #4571:
URL: https://github.com/apache/incubator-devlake/issues/4571#issuecomment-1511114880

   @jakezhu9  
   - Your approach to checking GitHub permission is good. 
   - Not sure what we can do with GitLab. 
   - As for Jira, the approach is to add a doc to describe the nuances of token permission settings. See https://devlake.apache.org/docs/Configuration/Jira#auth-token


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org