Remove :not_shared permission level for TeamRepository entity

This commit is contained in:
Urban Rotnik 2020-07-13 12:56:26 +02:00
parent 6357cf86ba
commit 07e2df8951

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class TeamRepository < ApplicationRecord
enum permission_level: Extends::SHARED_INVENTORIES_PERMISSION_LEVELS
enum permission_level: Extends::SHARED_INVENTORIES_PERMISSION_LEVELS.except(:not_shared)
belongs_to :team
belongs_to :repository