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

respect messageboard reading policy #1

Open
timdiggins opened this issue Aug 4, 2016 · 0 comments
Open

respect messageboard reading policy #1

timdiggins opened this issue Aug 4, 2016 · 0 comments

Comments

@timdiggins
Copy link
Contributor

timdiggins commented Aug 4, 2016

all topics currently doesn't pay attention to messageboard policy, so assumes all logged in users have rights to view all messageboards.

code like this: Topic.where(messageboard_id: policy_scope(Messageboard.all).pluck(:id))
may be helpful

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

1 participant