Skip to content

Instantly share code, notes, and snippets.

@dboundz
Last active March 21, 2019 18:40
Show Gist options
  • Save dboundz/26ba0fc8f834e75f6d7b236c5476f0fe to your computer and use it in GitHub Desktop.
Save dboundz/26ba0fc8f834e75f6d7b236c5476f0fe to your computer and use it in GitHub Desktop.
company: {
administrator: {
users: {
read: true,
write: true
},
positions: {
read: all,
write: all
},
...
},
manager: {
users: {
read: false,
write: false
},
positions: {
read: member,
write: owner
},
...
},
member: {
users: {
read: false,
write: false
},
positions: {
read: member,
write: none
},
...
}
},
position: {
hiring_manager: {
position: {
write: true
}
candidates: {
read: all,
write: all
},
pipeline_stages: {
read: all,
write: all
},
candidate: {
documents: {
read: true,
write: true
},
experience: {
read: true,
write: true,
},
conversation: {
read: true,
write: true
},
...
}
...
},
member: {
position: {
write: false
}
candidates: {
read: visible,
write: false
},
pipeline_stages: {
read: visible,
write: false
},
candidate: {
documents: {
read: false,
write: false
},
experience: {
read: true,
write: false,
},
conversation: {
read: false,
write: false
},
...
}
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment