Allow administrators to run local census records importation
Allow only administrator users to run local census records importation process
This commit is contained in:
committed by
Javi Martín
parent
d221198106
commit
0239efef9d
@@ -97,4 +97,6 @@ describe Abilities::Administrator do
|
||||
it { is_expected.to be_able_to :manage, dashboard_administrator_task }
|
||||
|
||||
it { should be_able_to(:manage, LocalCensusRecord) }
|
||||
it { should be_able_to(:create, LocalCensusRecords::Import) }
|
||||
it { should be_able_to(:show, LocalCensusRecords::Import) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user