-
Notifications
You must be signed in to change notification settings - Fork 3
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
Prevent building and publishing plugins from different repositories other than authors #31
Comments
For this, we can do something around TXT domain verification with the Github repo... A possible solution I'd try wrapping my head around this.. and once I have a headway, I can tackle this. Any other alternative? |
It would have something to do with people specifying their GitHub account and verifying it. Once that is set, you can only publish from repositories in that account. |
So flow I came up with.. The user would submit a github profile url.. How the plugin builder verifies.. I believe this flow confirms the user. Then we can update our initial flag... See scrambled implementation for the verification process. if you think this can fly, I can assign to myself |
Rather than using a separate gist, why not simply add a file at the root of the plugin build dir, which contains the plugin UUID? |
hmm.. So for every new plugin they would need to add the file.. So two things I was considering was that I didn't want to save the UUID, it would be cached on client side till validation is complete.. The user can delete the gist afterwards. And then it was just going to be a one time validation. But yea, yours works too |
I don't think it's a problem and the builder can immediately do the verification on checkout. |
Guys, let's not create these extended discussion threads because I don't have time to go the whole day back and forth on different approaches and waste time chatting on issues. We have a meeting today. Let's agree on one approach and then proceed to implement it. I think gist allows us to verify GitHub username as well, and one time check like that should work. Once we have it - then during every publish you can still enforce this check to ensure user is not switching between repositories and that's it. |
Right now, there's nothing preventing someone from linking repositories under different GitHub accounts and then publishing plugins. This means there could be multiple "by Kukks" plugins published by different Plugin Builder accounts - some of which Kukks doesn't control.
The text was updated successfully, but these errors were encountered: