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