From 07e2df8951dd7e49a1042abe0841b9b8077358e0 Mon Sep 17 00:00:00 2001 From: Urban Rotnik Date: Mon, 13 Jul 2020 12:56:26 +0200 Subject: [PATCH] Remove :not_shared permission level for TeamRepository entity --- app/models/team_repository.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/team_repository.rb b/app/models/team_repository.rb index 4f53a80bf..9a7bb8c8b 100644 --- a/app/models/team_repository.rb +++ b/app/models/team_repository.rb @@ -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