tavyandy97 / span-tree

🌳 Tree for GitLab
https://chrome.google.com/webstore/detail/spantree-gitlab-tree/gcjikeldobhnaglcoaejmdlmbienoocg
MIT License
217 stars 20 forks source link

Why does it require permissions to all URLs? #52

Closed ygordanniel closed 3 years ago

ygordanniel commented 3 years ago

Hi folks. First of all, thank you very much for the extension, it really saved me a lot of time already. Amazing work!

With that said, I was wondering why the permissions is set to all_urls since the extension is specifically for Gitlab. Is there a specific reason for that?

Regards!

tavyandy97 commented 3 years ago

Hey @ygordanniel ! Glad to see that you found the extension useful.

The reason that the extension requires permission to all_urls is that the extension also works on self-hosted instances of GitLab.

Thank You and do spread the word about SpanTree !

ygordanniel commented 3 years ago

Got it. Thanks for the quick response.

Keep it up with the amazing work!

tavyandy97 commented 3 years ago

@ygordanniel You can use the workaround mentioned in https://github.com/tavyandy97/span-tree/issues/35 if you want to restrict the extension access

ygordanniel commented 3 years ago

Yeah, that exactly what I did. Thanks!