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

NameError: uninitialized constant Thredded::Errors::TopicReadDenied #269

Closed
jayroh opened this issue Apr 29, 2016 · 2 comments
Closed

NameError: uninitialized constant Thredded::Errors::TopicReadDenied #269

jayroh opened this issue Apr 29, 2016 · 2 comments
Labels
Milestone

Comments

@jayroh
Copy link
Member

jayroh commented Apr 29, 2016

No description provided.

@jayroh jayroh added the bug label Apr 29, 2016
@glebm
Copy link
Collaborator

glebm commented May 1, 2016

Same with PrivateTopicReadDenied. Need to either create these classes or switch from authorize_reading to authorize obj, :read?. I think perhaps custom classes are an overkill here, especially since the relevant information (object, failed permission name) is passed in the Pundit error.

@glebm glebm closed this as completed in 1d3c0d5 May 1, 2016
@glebm
Copy link
Collaborator

glebm commented May 1, 2016

Fixed for now by avoiding custom classes for these permissions

@glebm glebm modified the milestone: v0.3.1 May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants