access.rb 184 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 module Gitlab module LDAP class Access def allowed?(user) !!Gitlab::LDAP::Person.find_by_dn(user.extern_uid) rescue false end end end end