Skip to content

Fix assorted rspec failures due to stale, cached user permissions

Stan Hu requested to merge fix-rspec-failures-due-to-cached-permissions into master

RequestStore is disabled in tests, but the Ability class was caching user permissions based on the user and project ID of previous test runs. Revise code to use RequestStore only if it is active.

Merge request reports