Created
May 22, 2020 08:52
-
-
Save darahayes/614bc5be036bd13fe555afeeb4d1226c 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
const authConfig = { | |
Task: { | |
create: {}, | |
read: {}, | |
update: { roles: ["admin"] }, | |
delete: { roles: ["admin"] } | |
}, | |
Report: { | |
create: { roles: ["admin"] }, | |
read: {}, | |
update: { roles: ["admin"] }, | |
delete: { roles: ["admin"] } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment