Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"users": [
{
"organisations": [
{
"id": 456,
"role": "OWNER",
"editable": false,
"name": "Acme Org",
"permissions": ["SDFDS::SDFDS", "SDFDFS::SASDA"]
},
{
"id": 123,
"role": "USER",
"editable": true,
"name": "Baz Org",
"permissions": ["SDFDS::SDFDS"]
}
],
"role": "OWNER/USER",
"id": "d0f115cde3194ef29c859b74cabd301d",
"full_name": "Foo Bar",
"email": "foobar@example.com"
}
]
}
@tomchristie

This comment has been minimized.

Copy link
Owner Author

commented Jun 3, 2014

Add users...

{
    "email": "foo@example.com",
    "full_name": "Ms Foozington",
    "permissions": {
         123: ["ASDSA::EWRWE", "DSF::SDFWE"]
     }
}
@CHR15-

This comment has been minimized.

Copy link

commented Jun 3, 2014

{
"message": "Sup bro, invited you to crunchboards. peace."
"email": "foo@example.com",
"full_name": "Ms Foozington",
"organisations": {
"id": "04b8b3cedd6445dd93e1ae207cd9a291",
"permissions" : [{"ACCOUNT_CATEGORY(ASSETS::CURRENT_ASSETS)" : true} ... ]
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.