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
@@ -28,6 +28,8 @@ describe Abilities::Everyone do
|
||||
|
||||
it { should_not be_able_to(:manage, Dashboard::Action) }
|
||||
it { should_not be_able_to(:manage, LocalCensusRecord) }
|
||||
it { should_not be_able_to(:create, LocalCensusRecords::Import) }
|
||||
it { should_not be_able_to(:show, LocalCensusRecords::Import) }
|
||||
|
||||
context "when accessing poll results" do
|
||||
let(:results_enabled) { true }
|
||||
|
||||
Reference in New Issue
Block a user