Welcome to mirror list, hosted at ThFree Co, Russian Federation.

create_access_level.rb « protected_tag « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6b6ab3d82792f5e8f84396f8f2bd26945b525c4b (plain)
1
2
3
4
5
6
7
8
9
class ProtectedTag::CreateAccessLevel < ActiveRecord::Base
  include ProtectedTagAccess

  def check_access(user)
    return false if access_level == Gitlab::Access::NO_ACCESS

    super
  end
end