Fix assorted rspec failures due to stale, cached user permissions
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.
Showing
Please
register
or
sign in
to comment