create-bw-app 0.25.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/constants.mjs
CHANGED
|
@@ -184,7 +184,7 @@ export const APP_DEPENDENCY_DEFAULTS = {
|
|
|
184
184
|
"@brightweblabs/app-shell": "^0.16.0",
|
|
185
185
|
"@brightweblabs/core-auth": "^0.11.0",
|
|
186
186
|
"@brightweblabs/infra": "^0.7.0",
|
|
187
|
-
"@brightweblabs/module-admin": "^0.9.
|
|
187
|
+
"@brightweblabs/module-admin": "^0.9.3",
|
|
188
188
|
"@brightweblabs/module-crm": "^0.17.3",
|
|
189
189
|
"@brightweblabs/module-marketing": "^0.4.23",
|
|
190
190
|
"@brightweblabs/module-orgs": "^0.6.2",
|
package/template/supabase/modules/admin/migrations/20260814100000_admin_client_invitations.sql
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
-- Allow portal clients to be invited before they are associated with an organization.
|
|
2
|
+
|
|
3
|
+
ALTER TABLE public.admin_user_invitations
|
|
4
|
+
DROP CONSTRAINT IF EXISTS admin_user_invitations_role_code_check;
|
|
5
|
+
|
|
6
|
+
ALTER TABLE public.admin_user_invitations
|
|
7
|
+
ADD CONSTRAINT admin_user_invitations_role_code_check
|
|
8
|
+
CHECK (role_code IN ('client', 'staff', 'admin'));
|