B2B-30: hide 'create team' button from not super_admins

This commit is contained in:
devmc-ee
2025-06-15 10:05:52 +03:00
parent ab933bee9c
commit 05a512a942
16 changed files with 70 additions and 55 deletions

View File

@@ -69,7 +69,7 @@ enabled = true
# Port to use for Supabase Studio.
port = 54323
# External URL of the API server that frontend connects to.
api_url = "http://127.0.0.1"
api_url = "env(SUPABASE_API_URL)"
# OpenAI API Key to use for Supabase AI in the Supabase Studio.
openai_api_key = "env(OPENAI_API_KEY)"
@@ -80,9 +80,9 @@ enabled = true
# Port to use for the email testing server web interface.
port = 54324
# Uncomment to expose additional ports for testing user applications that send emails.
smtp_port = 54325
pop3_port = 54326
# admin_email = "admin@email.com"
# smtp_port = 54325
# pop3_port = 54326
# admin_email = "info@devmc.ee"
# sender_name = "Admin"
[storage]
@@ -152,7 +152,7 @@ token_verifications = 30
enable_signup = true
# If enabled, a user will be required to confirm any email change on both the old, and new email
# addresses. If disabled, only the new email is required to confirm.
double_confirm_changes = true
double_confirm_changes = false
# If enabled, users need to confirm their email address before signing in.
enable_confirmations = false
# If enabled, users will need to reauthenticate or have logged in recently to change their password.