Skip to content

Instantly share code, notes, and snippets.

@swannodette
Created January 8, 2009 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swannodette/44902 to your computer and use it in GitHub Desktop.
Save swannodette/44902 to your computer and use it in GitHub Desktop.
{
table: 'shifts',
create: 'all',
update: ['shift.user_id == $loggedin_user'],
delete: ['shift.user_id == $loggedin_user'],
read: ['shift.private && shift.user_id == $loggedin_user',
'shift.group == $loggedin_user.group'],
presentation: [
'someproperty',
'someproperty2',
'title=artworkid->artwork.id, title',
'image=artworkid->artwork.id, image']
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment