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
When using #remove_role_permissions, I hit:
#remove_role_permissions
NameError: uninitialized constant Auth0::Mixins::Validation::Permission
It seems to me that's because this file misses:
require 'auth0/mixins/permission_struct'
If anyone runs through this until a patch: requiring permission_struct in your code before calling #remove_role_permissions does the trick.
permission_struct
The text was updated successfully, but these errors were encountered:
Sorry for the trouble there. That's an easy fix ... but I wonder why the specs didn't catch that. I'll leave this open to get a fix in place.
Thanks again!
Sorry, something went wrong.
Still got bitten by this bug, had to explicitly require 'auth0/mixins/permission_struct'. Not sure why :(
It looks like it works without eager loading (but failed in prod because of eager loading). Maybe linked to Zeitwerk mode of Rails 6 ?
Successfully merging a pull request may close this issue.
When using
#remove_role_permissions
, I hit:It seems to me that's because this file misses:
If anyone runs through this until a patch: requiring
permission_struct
in your code before calling#remove_role_permissions
does the trick.The text was updated successfully, but these errors were encountered: