-
- Roles
- {#if $organization?.billingPlan === BillingPlan.FREE}
- Pro plan
+ {#if isCloud}
+
+ Roles
+ {#if $organization?.billingPlan === BillingPlan.FREE}
+ Pro plan
+ {/if}
+
+ {#if $organization?.billingPlan != BillingPlan.FREE}
+
+ Owner, Developer Default, Editor, Analyst, Billing.
+
+
+ Learn more about roles.
+
+ {:else}
+
+ Owner, Developer, Editor, Analyst.
+
+
+ Learn more
+ Upgrade plan
+
{/if}
-
- {#if $organization?.billingPlan != BillingPlan.FREE}
-
- Owner, Developer Default, Editor, Analyst, Billing.
-
-
- Learn more about roles.
-
{:else}
- Owner, Developer, Editor, Analyst.
+ Roles
+ Appwrite Cloud
+
+
+ Upgrade to Cloud to assign new roles to members or ask
+ us about our entriprise self hosted offering.
Learn more
- Upgrade plan
+ Upgrade to Cloud
{/if}
diff --git a/src/routes/(console)/organization-[organization]/members/edit.svelte b/src/routes/(console)/organization-[organization]/members/edit.svelte
index 7905db296..dc374142b 100644
--- a/src/routes/(console)/organization-[organization]/members/edit.svelte
+++ b/src/routes/(console)/organization-[organization]/members/edit.svelte
@@ -56,7 +56,7 @@
showEdit = false;
addNotification({
type: 'success',
- message: `Membership updated`
+ message: `Role updated`
});
trackEvent(Submit.MembershipUpdate);
dispatch('updated', membership);
@@ -78,7 +78,17 @@