## # Defines an LDAP group that belongs to an Access Group. class LdapAccessGroup < ::BarkestCore::DbTable belongs_to :group, class_name: 'AccessGroup' validates :group, presence: true validates :name, presence: true, length: { maximum: 200 }, uniqueness: { case_sensitive: false, scope: :group_id } end