From 57848956d779381f0b2d5733eeef1db298bb5c03 Mon Sep 17 00:00:00 2001 From: Lora Woodford Date: Fri, 27 Dec 2024 16:34:00 -0500 Subject: [PATCH] remove extra permission --- backend/model/repository.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/model/repository.rb b/backend/model/repository.rb index 02c9d4a..a24f339 100644 --- a/backend/model/repository.rb +++ b/backend/model/repository.rb @@ -70,7 +70,7 @@ def after_create { :group_code => "repository-viewers", :description => I18n.t("group.default_group_names.repository_viewers", :repo_code => repo_code), - :grants_permissions => ["view_repository", "nonsense"] + :grants_permissions => ["view_repository"] }] RequestContext.open(:repo_id => self.id) do