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

authorization/security for teams #24

Closed
alrooney opened this issue Aug 30, 2023 · 2 comments
Closed

authorization/security for teams #24

alrooney opened this issue Aug 30, 2023 · 2 comments

Comments

@alrooney
Copy link

It seems currently there is no authorization and I can't figure out how to add authorization cleanly to the SlackRubyBotServer::Api:Endpoints::TeamsEndpoint. So any user, even if I add authentication, can see all the registered teams and post to any of them i.e. update any of them. Is there any recommendation in the community about the best way to do this? Normally I'd add authorization using something like Pundit to replace a call like this:
teams = Team.all
but the only way I can figure out to do that is to replace that endpoint entirely with my own which I would rather not do.

Thanks!

@dblock
Copy link
Contributor

dblock commented Aug 31, 2023

This is a dup of slack-ruby/slack-ruby-bot-server#171, take a look. Closing it here.

@dblock dblock closed this as completed Aug 31, 2023
@alrooney
Copy link
Author

Thanks. Will check out the other issue.

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

No branches or pull requests

2 participants