Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Allow to restrict authorization at the plugin level. #208

Open
rnaud opened this issue Feb 2, 2017 · 2 comments
Open

Allow to restrict authorization at the plugin level. #208

rnaud opened this issue Feb 2, 2017 · 2 comments

Comments

@rnaud
Copy link

rnaud commented Feb 2, 2017

I am adding lita as a bot to our whole org but I want to be able to restrict access to some critical plugins (github or CodeDeploy integrations) to the engineers.

Currently I believe I need to fork these gems to restrict the routes to the right Lita group. Or is there a way to do this at a global level that I missed.

If this does not exist I'll take a jab at a PR for this.

@rnaud
Copy link
Author

rnaud commented Feb 2, 2017

Hmmm, turns out route class methods are being called before the config for the handler is initialized, making it pretty hard currently to extend this. Ideas welcome 👍

@rnaud
Copy link
Author

rnaud commented Feb 2, 2017

Took a pass at it but not very happy with it: #209

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants