adjust send email views

This commit is contained in:
Pete Matsyburka
2024-04-07 17:12:46 +03:00
parent 87345a3b3d
commit cda349d71c
11 changed files with 22 additions and 15 deletions
+1 -1
View File
@@ -81,7 +81,7 @@
<% end %>
</li>
<% end %>
<% if can?(:manage, :saml_sso) && can?(:read, EncryptedConfig.new(key: 'saml_configs', account: current_account)) && true_user == current_user %>
<% if (!Docuseal.multitenant? || can?(:manage, :saml_sso)) && can?(:read, EncryptedConfig.new(key: 'saml_configs', account: current_account)) && true_user == current_user %>
<li>
<%= link_to 'SSO', settings_sso_index_path, class: 'text-base hover:bg-base-300' %>
</li>