@firecms/user_management 3.0.0-canary.49 → 3.0.0-canary.51
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/dist/index.es.js +158 -157
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/user_management.d.ts +4 -0
- package/package.json +5 -5
- package/src/hooks/useFirestoreUserManagement.tsx +4 -1
- package/src/types/user_management.tsx +5 -0
@@ -22,6 +22,11 @@ export type UserManagement<USER extends User = User> = {
|
|
22
22
|
*/
|
23
23
|
canEditRoles?: boolean;
|
24
24
|
|
25
|
+
/**
|
26
|
+
* Is the logged user Admin?
|
27
|
+
*/
|
28
|
+
isAdmin?: boolean;
|
29
|
+
|
25
30
|
/**
|
26
31
|
* Include a button to create default roles, in case there are no roles in the system.
|
27
32
|
*/
|