X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ae00fa84c8f981e909c61ab31b6115bb96e859cc..6094a97ce6297d390e5bbf733f5c2b4cc6b2076c:/app/abilities/ability.rb?ds=sidebyside diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index 725ceccb2..2214ba621 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -67,7 +67,8 @@ class Ability can [:hide, :unhide], [DiaryEntry, DiaryComment] can [:index, :show, :resolve, :ignore, :reopen], Issue can :create, IssueComment - can [:set_status, :destroy, :index], User + can [:set_status, :destroy], User + can [:show, :update], :users_list can [:create, :destroy], UserRole end end