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

[JENKINS-58666, JENKINS-58730] Feature/trusted contributors #12

Merged
merged 14 commits into from
Jul 30, 2019

Conversation

baymac
Copy link
Member

@baymac baymac commented Jul 26, 2019

Based on @oleg-nenashev suggestion added the trusted contributors (or members) permission for Fork Merge Requests Trait. The current implementation of permission in GitLabSCMSourceRequest works, as is correctly logged with mr author and it's corresponding permission before the MR indexing. But the ForkMergeRequestTrait doesn't work in itself. Tried with different trust like member, nobody etc. It doesn't work for any case. So there must be some problem in our implementation of ForkMRTrait.

@oleg-nenashev oleg-nenashev self-requested a review July 26, 2019 06:13
@baymac baymac added the Do Not Merge This PR is a work in progress, do not merge until label is removed label Jul 27, 2019
Copy link
Member

@jetersen jetersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@baymac baymac force-pushed the feature/trusted-contributors branch from fe1a722 to eb01073 Compare July 30, 2019 11:11
@baymac
Copy link
Member Author

baymac commented Jul 30, 2019

This PR is ready to be merged. The trusted member strategy works now. Thanks @Casz for helping me fix this. Thanks @oleg-nenashev for suggesting this feature. This one way we can say Jenkins is better than GitLab CI. Because GitLab CI doesn't have any implementation for run pipeline on forked projects MR.

@baymac baymac removed the Do Not Merge This PR is a work in progress, do not merge until label is removed label Jul 30, 2019
@baymac baymac changed the title [JENKINS-58666] Feature/trusted contributors [JENKINS-58666, JENKINS-58730] Feature/trusted contributors Jul 30, 2019
@baymac
Copy link
Member Author

baymac commented Jul 30, 2019

Btw @Casz we need to figure out what's wrong with web hook. This is the single most important feature we need before making the beta release.

@baymac baymac force-pushed the feature/trusted-contributors branch from 1aee0fd to 9ea7ef3 Compare July 30, 2019 16:14
@baymac baymac merged commit 1679bd6 into develop Jul 30, 2019
@baymac baymac deleted the feature/trusted-contributors branch July 30, 2019 19:49
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

Successfully merging this pull request may close these issues.

3 participants