Merge pull request #2729 from urbanrotnik/ur-sci-4853

Remove :not_shared permission level for TeamRepository entity [SCI-4853]
This commit is contained in:
Alex Kriuchykhin 2020-07-20 11:49:07 +02:00 committed by GitHub
commit eb7fe360ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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