Skip to content

Commit fc133ca

Browse files
author
Scott Prue
committed
Merge remote-tracking branch 'origin/master'
2 parents d5b33de + 6ccaff5 commit fc133ca

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* [Thunks](/docs/recipes/thunks.md)
1414
* [Epics](/docs/recipes/epics.md)
1515
* [Routing](/docs/recipes/routing.md)
16+
* [Roles](/docs/recipes/roles.md)
1617
* [Populate](/docs/recipes/populate.md)
1718
* [Upload](/docs/recipes/upload.md)
1819
* [Redux Form](/docs/recipes/redux-form.md)

docs/recipes/roles.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Roles (Access Management) Recipe
22

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-
53
Control/management of access through setting and assigning user roles and permissions are an important part of most production applications.
64

75
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
1917
```js
2018
{
2119
admin: {
22-
name: 'admin', // will not be nessesary once profileParamsToPopulate supports keyProp
20+
name: 'admin', // will not be necessary once profileParamsToPopulate supports keyProp
2321
todos: true,
2422
userManagement: true
2523
},
2624
user: {
2725
todos: true,
28-
name: 'user'// will not be nessesary once profileParamsToPopulate supports keyProp
26+
name: 'user'// will not be necessary once profileParamsToPopulate supports keyProp
2927
}
3028
}
3129
{

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@
9494
"eslint-plugin-react": "^6.10.3",
9595
"eslint-plugin-standard": "^2.2.0",
9696
"gitbook-cli": "^2.3.0",
97+
"gitbook-plugin-anchorjs": "^1.1.1",
98+
"gitbook-plugin-edit-link": "^2.0.2",
99+
"gitbook-plugin-github": "^2.0.0",
100+
"gitbook-plugin-prism": "^2.2.0",
101+
"gitbook-plugin-versions-select": "^0.1.1",
97102
"istanbul": "^1.1.0-alpha.1",
98103
"jsdom": "^9.12.0",
99104
"mocha": "^3.2.0",

0 commit comments

Comments
 (0)