Last active
March 28, 2016 12:48
-
-
Save DeadAlready/66b05b73320cf176e39e to your computer and use it in GitHub Desktop.
Role definitions
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
let roles = { | |
manager: { | |
can: ['publish'], | |
inherits: ['writer'] | |
}, | |
writer: { | |
can: ['write'], | |
inherits: ['guest'] | |
}, | |
guest: { | |
can: ['read'] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment