mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-12 06:06:05 +10:00
11 lines
197 B
Ruby
11 lines
197 B
Ruby
class Groups::ApplicationController < ApplicationController
|
|
|
|
private
|
|
|
|
def authorize_admin_group!
|
|
unless can?(current_user, :manage_group, group)
|
|
return render_404
|
|
end
|
|
end
|
|
end
|