Created
November 22, 2018 18:58
-
-
Save DavidTheProgrammer/fc64597e853d92d029ceffcf61fb68c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Permissions = [ | |
{ | |
name: 'Home Appliances', | |
rules : { | |
read: true, | |
write: true, | |
delete: true | |
} | |
}, | |
{ | |
name: 'Haberdashery', | |
rules : { | |
read: true, | |
write: true, | |
delete: false | |
}, | |
} | |
// ... Add new permissions to this collection | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment