Implement complete Organizations feature with RBAC
- Add owner/admin/member roles with proper permissions - Implement invite links and join requests system - Add organization settings dialog with member management - Create database migrations for invitations and invite links - Update backend API with org management endpoints - Fix compilation errors and audit logging - Update frontend models and API integration
This commit is contained in:
@@ -31,20 +31,28 @@ run_migration() {
|
||||
}
|
||||
|
||||
# Run migrations in order
|
||||
echo "Step 1/4: Initial schema..."
|
||||
echo "Step 1/6: Initial schema..."
|
||||
run_migration "$SCRIPT_DIR/0001_initial.sql"
|
||||
|
||||
echo
|
||||
echo "Step 2/4: Passkeys and authentication..."
|
||||
echo "Step 2/6: Passkeys and authentication..."
|
||||
run_migration "$SCRIPT_DIR/0002_passkeys.sql"
|
||||
|
||||
echo
|
||||
echo "Step 3/4: Files and storage..."
|
||||
echo "Step 3/6: Files and storage..."
|
||||
run_migration "$SCRIPT_DIR/0003_files.sql"
|
||||
|
||||
echo
|
||||
echo "Step 4/4: Organization ownership and slug scope..."
|
||||
echo "Step 4/6: Organization ownership and slug scope..."
|
||||
run_migration "$SCRIPT_DIR/0004_org_owner_slug.sql"
|
||||
|
||||
echo
|
||||
echo "Step 5/6: Organization invitations and join requests..."
|
||||
run_migration "$SCRIPT_DIR/0005_org_invitations.sql"
|
||||
|
||||
echo
|
||||
echo "Step 6/6: Organization invite links..."
|
||||
run_migration "$SCRIPT_DIR/0006_org_invite_link.sql"
|
||||
|
||||
echo
|
||||
echo "=== All migrations completed successfully! ==="
|
||||
|
||||
Reference in New Issue
Block a user