We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
Topic.where(messageboard_id: policy_scope(Messageboard.all).pluck(:id))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: