bootstrap-user-management
OfficialBootstrap account member management in Phoenix
Authoragoodway
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It provides a ready-to-use way to manage account-scoped users in a multi-tenant Phoenix app, including listing members, inviting by email, role assignment, and safe removal.
Core Features & Use Cases
- Account-scoped member management: Adds context functions to list members, fetch a member scoped to an account, invite users by email, and remove members safely.
- Role-based access control: Enforces a role hierarchy where owners can assign any role (including owner), admins can manage members (but not assign owner), and members are restricted.
- LiveView UI + invite modal: Implements a LiveView that displays members in a table and a LiveComponent modal for inviting and assigning roles.
- Routes + optional notifications: Adds the required routes within the existing account-scoped live_session and supports optional email notification for invited users.
- Safety guards: Prevents removing yourself and prevents removing the last owner to maintain account integrity.
Quick Start
Ask your agent to run bootstrap-user-management for your Phoenix 1.8 app after bootstrap-accounts and phx.gen.auth are already set up.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bootstrap-user-management Download link: https://github.com/agoodway/GoodSkills/archive/main.zip#bootstrap-user-management Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.