You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/recipes/roles.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
# Roles (Access Management) Recipe
2
2
3
-
**Note:** This example is based on the Access Management chapter from this book: https://prescottprue.gitbooks.io/real-react-firebase/content/features/access-management.html
4
-
5
3
Control/management of access through setting and assigning user roles and permissions are an important part of most production applications.
6
4
7
5
Though there are many patterns, we are going to use the following terminology:
@@ -19,13 +17,13 @@ _Tip: you can import below JSON directly into Firebase. Alternatively you can po
19
17
```js
20
18
{
21
19
admin: {
22
-
name:'admin', // will not be nessesary once profileParamsToPopulate supports keyProp
20
+
name:'admin', // will not be necessary once profileParamsToPopulate supports keyProp
23
21
todos:true,
24
22
userManagement:true
25
23
},
26
24
user: {
27
25
todos:true,
28
-
name:'user'// will not be nessesary once profileParamsToPopulate supports keyProp
26
+
name:'user'// will not be necessary once profileParamsToPopulate supports keyProp
0 commit comments