π’Organizations
Last updated
Last updated
Fast Phoenix provides robust features for managing organizations, including roles, invites, and activity logs. Organizations are central to enabling collaborative workflows and controlling access within your app. Hereβs how to set it up and use it effectively:
Step 1: Organization Creation
Organizations are created during the user onboarding process:
Onboarding Flow After signing up, users are prompted to create an organization by entering their name.
Example field: Name
Once submitted, an organization is created and associated with the user as the owner.
Default Settings
The user who creates the organization is assigned the Admin
role.
Default seat limits are set based on the subscription tier.
Step 2: Organization Roles
Fast Phoenix includes a flexible role system for managing access:
Predefined Roles
Admin: Manage users, roles, and organization settings but cannot handle billing.
Member: Basic access to organization features based on permissions.
Custom Roles (Optional)
Extend the system by defining additional roles in the database or configuration files.
Step 3: Organization Invites
Invite team members to join an organization with ease:
Send Invites
Admins can send invites by entering the email address of the invitee.
The invite is sent using a prebuilt email template (customizable via the admin dashboard).
Accepting Invites
Invitees receive an account notification to accept the invite and join the organization.
Seat Limit Enforcement
Seat limits are based on the organizationβs subscription tier. Attempts to exceed this limit will be blocked until an upgrade is made.
Step 4: Organization Logs
Track all organization-related activities:
Log Types
Member Actions: Invites sent, roles updated, or members removed.
Settings Updates: Organization name or preferences changes.
Access Logs
Logs are accessible via the organization dashboard for transparency and auditing.
Step 5: PubSub for Real-Time Updates
Fast Phoenix leverages Phoenix PubSub to keep all members in sync:
Live Notifications
Role changes, invites, or setting updates trigger real-time notifications for all logged-in users.
Step 6: Managing Organizations
Admins can manage their organization via a dedicated dashboard:
Member Management
Add, remove, or update roles for team members.
Resend invites or revoke pending ones.
Subscription Settings
View current subscription tier and available seat limits.
Upgrade or downgrade directly through the Stripe integration.
Logs and Insights
Access detailed logs and analytics about organization activities.
Fast Phoenixβs organization system is designed to simplify team collaboration while providing the flexibility and control needed for growing applications. π