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
Seems counter intuitive to me, especially when super admins can add themselves as admins. Discovered while reviewing PR #125.
Requires changes to app/policies/school_policy.rb perhaps.
app/policies/school_policy.rb
The text was updated successfully, but these errors were encountered:
Nice find, has_role?(:admin) needs to be changed to is_admin?.
has_role?(:admin)
is_admin?
Sorry, something went wrong.
No branches or pull requests
Seems counter intuitive to me, especially when super admins can add themselves as admins. Discovered while reviewing PR #125.
Requires changes to
app/policies/school_policy.rb
perhaps.The text was updated successfully, but these errors were encountered: