Introduce an "owner" role, and prevent it from being administered
to prevent the owner from being demoted or kicked out. ref: https://app.fizzy.do/5986089/cards/3213
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ else
|
||||
identity = Identity.find_or_create_by!(email_address: email_address)
|
||||
|
||||
unless account = Account.find_by(external_account_id: tenant_id)
|
||||
account = Account.create_with_admin_user(
|
||||
account = Account.create_with_owner(
|
||||
account: {
|
||||
external_account_id: tenant_id,
|
||||
name: signal_account_name
|
||||
|
||||
Reference in New Issue
Block a user