{"action":"created","comment":{"url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/comments/67329007","id":67329007,"diff_hunk":"@@ -1624,7 +1792,11 @@ Retrieves all the users matching the given filter.\n   action: \"updateProfile\",\n   _id: \"<profile id>\",\n   body: {\n-    \"roles\": [\"some\", \"roles\"]\n+    roles: [\n+      {_id: '<roleID>'},\n+      {_id: '<roleID>', retrictedTo: [{index: '<index>'}, {index: '<index>', collections: ['<coll1>', '<coll2>'] } ] },","path":"source/includes/_securityController.md","position":244,"original_position":244,"commit_id":"45555b64577620c1918b4d6451e6d20e428f11f4","original_commit_id":"45555b64577620c1918b4d6451e6d20e428f11f4","user":{"login":"scottinet","id":12997967,"avatar_url":"https://avatars.githubusercontent.com/u/12997967?v=3","gravatar_id":"","url":"https://api.github.com/users/scottinet","html_url":"https://github.com/scottinet","followers_url":"https://api.github.com/users/scottinet/followers","following_url":"https://api.github.com/users/scottinet/following{/other_user}","gists_url":"https://api.github.com/users/scottinet/gists{/gist_id}","starred_url":"https://api.github.com/users/scottinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottinet/subscriptions","organizations_url":"https://api.github.com/users/scottinet/orgs","repos_url":"https://api.github.com/users/scottinet/repos","events_url":"https://api.github.com/users/scottinet/events{/privacy}","received_events_url":"https://api.github.com/users/scottinet/received_events","type":"User","site_admin":false},"body":"re**s**trictedTo","created_at":"2016-06-16T11:31:30Z","updated_at":"2016-06-16T11:31:30Z","html_url":"https://github.com/kuzzleio/kuzzle-api-documentation/pull/39#discussion_r67329007","pull_request_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/comments/67329007"},"html":{"href":"https://github.com/kuzzleio/kuzzle-api-documentation/pull/39#discussion_r67329007"},"pull_request":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/39","id":73919023,"html_url":"https://github.com/kuzzleio/kuzzle-api-documentation/pull/39","diff_url":"https://github.com/kuzzleio/kuzzle-api-documentation/pull/39.diff","patch_url":"https://github.com/kuzzleio/kuzzle-api-documentation/pull/39.patch","issue_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues/39","number":39,"state":"open","locked":false,"title":"[release-1.0.0-RC3] Update rights doc","user":{"login":"ballinette","id":1447135,"avatar_url":"https://avatars.githubusercontent.com/u/1447135?v=3","gravatar_id":"","url":"https://api.github.com/users/ballinette","html_url":"https://github.com/ballinette","followers_url":"https://api.github.com/users/ballinette/followers","following_url":"https://api.github.com/users/ballinette/following{/other_user}","gists_url":"https://api.github.com/users/ballinette/gists{/gist_id}","starred_url":"https://api.github.com/users/ballinette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballinette/subscriptions","organizations_url":"https://api.github.com/users/ballinette/orgs","repos_url":"https://api.github.com/users/ballinette/repos","events_url":"https://api.github.com/users/ballinette/events{/privacy}","received_events_url":"https://api.github.com/users/ballinette/received_events","type":"User","site_admin":false},"body":"* Fix format for createProfile requests after role refactoring\r\n*  \tadd the documentation for getUserRights, getProfileRights and getMyRights actions\r\n","created_at":"2016-06-15T14:14:04Z","updated_at":"2016-06-16T11:31:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"357b68e5847cf2d9a37f581f93732c19155f0d40","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/39/commits","review_comments_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/39/comments","review_comment_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues/39/comments","statuses_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/statuses/45555b64577620c1918b4d6451e6d20e428f11f4","head":{"label":"kuzzleio:update-rights-doc","ref":"update-rights-doc","sha":"45555b64577620c1918b4d6451e6d20e428f11f4","user":{"login":"kuzzleio","id":12933347,"avatar_url":"https://avatars.githubusercontent.com/u/12933347?v=3","gravatar_id":"","url":"https://api.github.com/users/kuzzleio","html_url":"https://github.com/kuzzleio","followers_url":"https://api.github.com/users/kuzzleio/followers","following_url":"https://api.github.com/users/kuzzleio/following{/other_user}","gists_url":"https://api.github.com/users/kuzzleio/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzzleio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzzleio/subscriptions","organizations_url":"https://api.github.com/users/kuzzleio/orgs","repos_url":"https://api.github.com/users/kuzzleio/repos","events_url":"https://api.github.com/users/kuzzleio/events{/privacy}","received_events_url":"https://api.github.com/users/kuzzleio/received_events","type":"Organization","site_admin":false},"repo":{"id":47272903,"name":"kuzzle-api-documentation","full_name":"kuzzleio/kuzzle-api-documentation","owner":{"login":"kuzzleio","id":12933347,"avatar_url":"https://avatars.githubusercontent.com/u/12933347?v=3","gravatar_id":"","url":"https://api.github.com/users/kuzzleio","html_url":"https://github.com/kuzzleio","followers_url":"https://api.github.com/users/kuzzleio/followers","following_url":"https://api.github.com/users/kuzzleio/following{/other_user}","gists_url":"https://api.github.com/users/kuzzleio/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzzleio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzzleio/subscriptions","organizations_url":"https://api.github.com/users/kuzzleio/orgs","repos_url":"https://api.github.com/users/kuzzleio/repos","events_url":"https://api.github.com/users/kuzzleio/events{/privacy}","received_events_url":"https://api.github.com/users/kuzzleio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kuzzleio/kuzzle-api-documentation","description":"","fork":false,"url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation","forks_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/forks","keys_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/teams","hooks_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/hooks","issue_events_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/events","assignees_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/tags","blobs_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/languages","stargazers_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/stargazers","contributors_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/contributors","subscribers_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/subscribers","subscription_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/subscription","commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/merges","archive_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/downloads","issues_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/labels{/name}","releases_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/releases{/id}","deployments_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/deployments","created_at":"2015-12-02T16:17:00Z","updated_at":"2016-01-12T08:55:48Z","pushed_at":"2016-06-15T14:14:05Z","git_url":"git://github.com/kuzzleio/kuzzle-api-documentation.git","ssh_url":"git@github.com:kuzzleio/kuzzle-api-documentation.git","clone_url":"https://github.com/kuzzleio/kuzzle-api-documentation.git","svn_url":"https://github.com/kuzzleio/kuzzle-api-documentation","homepage":null,"size":671,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"kuzzleio:release-1.0.0-RC3","ref":"release-1.0.0-RC3","sha":"8786e009b45cdf9796a1c26fe5d791fcbe88c514","user":{"login":"kuzzleio","id":12933347,"avatar_url":"https://avatars.githubusercontent.com/u/12933347?v=3","gravatar_id":"","url":"https://api.github.com/users/kuzzleio","html_url":"https://github.com/kuzzleio","followers_url":"https://api.github.com/users/kuzzleio/followers","following_url":"https://api.github.com/users/kuzzleio/following{/other_user}","gists_url":"https://api.github.com/users/kuzzleio/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzzleio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzzleio/subscriptions","organizations_url":"https://api.github.com/users/kuzzleio/orgs","repos_url":"https://api.github.com/users/kuzzleio/repos","events_url":"https://api.github.com/users/kuzzleio/events{/privacy}","received_events_url":"https://api.github.com/users/kuzzleio/received_events","type":"Organization","site_admin":false},"repo":{"id":47272903,"name":"kuzzle-api-documentation","full_name":"kuzzleio/kuzzle-api-documentation","owner":{"login":"kuzzleio","id":12933347,"avatar_url":"https://avatars.githubusercontent.com/u/12933347?v=3","gravatar_id":"","url":"https://api.github.com/users/kuzzleio","html_url":"https://github.com/kuzzleio","followers_url":"https://api.github.com/users/kuzzleio/followers","following_url":"https://api.github.com/users/kuzzleio/following{/other_user}","gists_url":"https://api.github.com/users/kuzzleio/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzzleio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzzleio/subscriptions","organizations_url":"https://api.github.com/users/kuzzleio/orgs","repos_url":"https://api.github.com/users/kuzzleio/repos","events_url":"https://api.github.com/users/kuzzleio/events{/privacy}","received_events_url":"https://api.github.com/users/kuzzleio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kuzzleio/kuzzle-api-documentation","description":"","fork":false,"url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation","forks_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/forks","keys_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/teams","hooks_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/hooks","issue_events_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/events","assignees_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/tags","blobs_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/languages","stargazers_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/stargazers","contributors_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/contributors","subscribers_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/subscribers","subscription_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/subscription","commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/merges","archive_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/downloads","issues_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/labels{/name}","releases_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/releases{/id}","deployments_url":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/deployments","created_at":"2015-12-02T16:17:00Z","updated_at":"2016-01-12T08:55:48Z","pushed_at":"2016-06-15T14:14:05Z","git_url":"git://github.com/kuzzleio/kuzzle-api-documentation.git","ssh_url":"git@github.com:kuzzleio/kuzzle-api-documentation.git","clone_url":"https://github.com/kuzzleio/kuzzle-api-documentation.git","svn_url":"https://github.com/kuzzleio/kuzzle-api-documentation","homepage":null,"size":671,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/39"},"html":{"href":"https://github.com/kuzzleio/kuzzle-api-documentation/pull/39"},"issue":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues/39"},"comments":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-api-documentation/statuses/45555b64577620c1918b4d6451e6d20e428f11f4"}}}}
{"actor":{"display_login":"scottinet"}}