Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
feat: introduce User Management page (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickmichalina committed Nov 10, 2017
1 parent cfb4085 commit 9bfffd8
Show file tree
Hide file tree
Showing 44 changed files with 10,555 additions and 15,270 deletions.
1 change: 1 addition & 0 deletions data/security.rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
}
},
"users": {
".read": "auth != null && root.child('users').child(auth.uid).child('roles/superadmin').val() === true",
"$uid": {
".read": "auth != null && auth.uid == $uid || root.child('users').child(auth.uid).child('roles/superadmin').val() === true",
".write": "auth != null && auth.uid == $uid || root.child('users').child(auth.uid).child('roles/superadmin').val() === true"
Expand Down
2 changes: 1 addition & 1 deletion data/seed.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}
},
{
"inHead": false,
"inHead": true,
"element": "script",
"value": "window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;ga('create', 'UA-107089312-2', 'auto');",
"attributes": {
Expand Down

0 comments on commit 9bfffd8

Please sign in to comment.