Removes 'manage' from admin permissions in Polls

This commit is contained in:
kikito
2017-01-29 22:25:10 +01:00
parent 8dc188e4cd
commit 5d13bdc15d
3 changed files with 4 additions and 6 deletions

View File

@@ -53,8 +53,8 @@ module Abilities
can [:index, :create, :edit, :update, :destroy], Geozone
can [:manage], Poll
can [:manage], Poll::Booth
can [:read, :create, :update, :destroy, :add_question, :remove_question, :search_booths, :search_questions, :search_officers], Poll
can [:read, :create, :update, :destroy], Poll::Booth
can [:search, :create, :index, :destroy], ::Poll::Officer
can [:create, :destroy], ::Poll::BoothAssignment
can [:create, :destroy], ::Poll::OfficerAssignment