mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-23 11:36:09 +10:00
Authorization rule manage_group does not exist any more
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ class AuditEventsController < ApplicationController
|
||||
end
|
||||
|
||||
def authorize_admin_group!
|
||||
render_404 unless can?(current_user, :manage_group, group)
|
||||
render_404 unless can?(current_user, :admin_group, group)
|
||||
end
|
||||
|
||||
def determine_layout
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
group, members with
|
||||
%strong #{group_links.human_access}
|
||||
role (#{shared_group_users_count})
|
||||
- if current_user.can?(:manage_group, shared_group)
|
||||
- if current_user.can?(:admin_group, shared_group)
|
||||
.panel-head-actions
|
||||
= link_to group_group_members_path(shared_group), class: 'btn btn-sm' do
|
||||
%i.fa.fa-pencil-square-o
|
||||
|
||||
Reference in New Issue
Block a user