Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't error when checking user roles on a project
Substitute the call to the overwritten `Project.find_by_name` finder method with plain ActiveRecord finder methods. Make sure the `user_has_role?` method is always called on a project.
- Loading branch information