From 47701aefafcf1d660cf6861f6297996f0e7d17cd Mon Sep 17 00:00:00 2001 From: Manitej Boorgu <68567672+techpixel@users.noreply.github.com> Date: Tue, 3 Feb 2026 12:54:31 -0500 Subject: [PATCH] Add 'slack_id' to identity data scopes --- app/views/admin/programs/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/programs/_form.html.erb b/app/views/admin/programs/_form.html.erb index a47285b..696e811 100644 --- a/app/views/admin/programs/_form.html.erb +++ b/app/views/admin/programs/_form.html.erb @@ -165,7 +165,7 @@
<% scopes = @program.scopes || {} %> <% sensitive = %w[birthday phone_number addresses] %> - <% %w[first_name last_name full_name email birthday phone_number addresses].each do |key| %> + <% %w[first_name last_name full_name email birthday phone_number addresses slack_id].each do |key| %> <% current_on = scopes[key].present? ? ActiveModel::Type::Boolean.new.cast(scopes[key]) : false %> <% disable_for_author = (current_admin&.ysws_author? && sensitive.include?(key) && !current_on) %>