2018-08-10 06:45:01 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-04-04 02:37:22 +00:00
|
|
|
class ProtectedTag::CreateAccessLevel < ActiveRecord::Base
|
2017-03-15 22:29:07 +00:00
|
|
|
include ProtectedTagAccess
|
|
|
|
|
|
|
|
def check_access(user)
|
|
|
|
return false if access_level == Gitlab::Access::NO_ACCESS
|
|
|
|
|
|
|
|
super
|
|
|
|
end
|
|
|
|
end
|