Skip to content

Instantly share code, notes, and snippets.

@quinn
Created February 6, 2014 09:11
Show Gist options
  • Save quinn/8840838 to your computer and use it in GitHub Desktop.
Save quinn/8840838 to your computer and use it in GitHub Desktop.
default_access: &default_access
list: [all]
read: [all]
update: [owner, admin]
create: [all]
destroy: [owner, admin]
root:
activities:
attributes:
data: {}
name:
description:
readonly_attributes:
cid:
access:
<<: *default_access
create: [admin]
activity_sessions:
attributes:
percentage:
time_spent:
state:
completed_at:
data: {}
temporary:
activity_uid:
readonly_attributes:
anonymous:
access:
<<: *default_access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment