Allow administrators to run local census records importation

Allow only administrator users to run local census records importation
process
This commit is contained in:
Senén Rodero Rodríguez
2019-05-16 10:43:02 +02:00
committed by Javi Martín
parent d221198106
commit 0239efef9d
3 changed files with 5 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ module Abilities
can [:edit, :update], DownloadSetting
can :manage, LocalCensusRecord
can [:create, :read], LocalCensusRecords::Import
end
end
end