uclibs / treatment_database

Application to track conservation workflow for Preservation Services
1 stars 2 forks source link

479 restrict standard user views #480

Closed Janell-Huyck closed 5 months ago

Janell-Huyck commented 5 months ago

Fixes #479

We didn't intend to give standard users access to the reports and activity pages. This PR revokes those permissions, updating tests to match the new permissions.

spec/views/conservation_records/index.html.erb_spec.rb was modified because it was failing pagination checks.

Janell-Huyck commented 5 months ago

The change in test coverage is due to a Rubocop fix mandated by Rubocop 😆 This is the file that made the change: lib/tasks/export.rake