{"action":"created","comment":{"url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/comments/78540309","id":78540309,"diff_hunk":"@@ -7,11 +7,31 @@\n \n     <collection-tabs></collection-tabs>\n \n+    <!-- Not allowed -->\n+    <div class=\"card-panel\" v-if=\"!canSearchDocument(index, collection)\">\n+      <div class=\"row valign-bottom empty-set empty-set-condensed\">\n+        <div class=\"col s1 offset-s1\">\n+          <i class=\"fa fa-6x fa-lock grey-text text-lighten-1\" aria-hidden=\"true\"></i>\n+        </div>\n+        <div class=\"col s10\">\n+          <p>\n+            You are not allowed to list documents in collection <strong>{{collection}}</strong><br>\n+          </p>\n+          <p>\n+            <em>Learn more about security & permissions on <a href=\"http://kuzzle.io/guide/#permissions\" target=\"_blank\">http://kuzzle.io/guide</a></em>","path":"src/components/Data/Documents/List.vue","position":15,"original_position":15,"commit_id":"03d7cb6dae04642a3c4b59f9a8fd22782efd70e4","original_commit_id":"03d7cb6dae04642a3c4b59f9a8fd22782efd70e4","user":{"login":"stafyniaksacha","id":3911343,"avatar_url":"https://avatars.githubusercontent.com/u/3911343?v=3","gravatar_id":"","url":"https://api.github.com/users/stafyniaksacha","html_url":"https://github.com/stafyniaksacha","followers_url":"https://api.github.com/users/stafyniaksacha/followers","following_url":"https://api.github.com/users/stafyniaksacha/following{/other_user}","gists_url":"https://api.github.com/users/stafyniaksacha/gists{/gist_id}","starred_url":"https://api.github.com/users/stafyniaksacha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stafyniaksacha/subscriptions","organizations_url":"https://api.github.com/users/stafyniaksacha/orgs","repos_url":"https://api.github.com/users/stafyniaksacha/repos","events_url":"https://api.github.com/users/stafyniaksacha/events{/privacy}","received_events_url":"https://api.github.com/users/stafyniaksacha/received_events","type":"User","site_admin":false},"body":"please replace `&` by  `&amp;` to have a valid document ","created_at":"2016-09-13T11:27:19Z","updated_at":"2016-09-13T11:27:19Z","html_url":"https://github.com/kuzzleio/kuzzle-backoffice/pull/102#discussion_r78540309","pull_request_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/comments/78540309"},"html":{"href":"https://github.com/kuzzleio/kuzzle-backoffice/pull/102#discussion_r78540309"},"pull_request":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/102"}}},"pull_request":{"url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/102","id":85028760,"html_url":"https://github.com/kuzzleio/kuzzle-backoffice/pull/102","diff_url":"https://github.com/kuzzleio/kuzzle-backoffice/pull/102.diff","patch_url":"https://github.com/kuzzleio/kuzzle-backoffice/pull/102.patch","issue_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues/102","number":102,"state":"open","locked":false,"title":"Data UI adapts to user rights","user":{"login":"xbill82","id":5023426,"avatar_url":"https://avatars.githubusercontent.com/u/5023426?v=3","gravatar_id":"","url":"https://api.github.com/users/xbill82","html_url":"https://github.com/xbill82","followers_url":"https://api.github.com/users/xbill82/followers","following_url":"https://api.github.com/users/xbill82/following{/other_user}","gists_url":"https://api.github.com/users/xbill82/gists{/gist_id}","starred_url":"https://api.github.com/users/xbill82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbill82/subscriptions","organizations_url":"https://api.github.com/users/xbill82/orgs","repos_url":"https://api.github.com/users/xbill82/repos","events_url":"https://api.github.com/users/xbill82/events{/privacy}","received_events_url":"https://api.github.com/users/xbill82/received_events","type":"User","site_admin":false},"body":"Fixes #98 ","created_at":"2016-09-13T11:15:45Z","updated_at":"2016-09-13T11:27:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"078c387fd46869d41a0b2c98351926aaff1f5e93","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/102/commits","review_comments_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/102/comments","review_comment_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues/102/comments","statuses_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/statuses/03d7cb6dae04642a3c4b59f9a8fd22782efd70e4","head":{"label":"kuzzleio:98-data-authorization-ui","ref":"98-data-authorization-ui","sha":"03d7cb6dae04642a3c4b59f9a8fd22782efd70e4","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":62143758,"name":"kuzzle-backoffice","full_name":"kuzzleio/kuzzle-backoffice","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-backoffice","description":"A convenient back-office for Kuzzle.io","fork":false,"url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice","forks_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/forks","keys_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/teams","hooks_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/hooks","issue_events_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues/events{/number}","events_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/events","assignees_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/assignees{/user}","branches_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/branches{/branch}","tags_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/tags","blobs_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/refs{/sha}","trees_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/statuses/{sha}","languages_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/languages","stargazers_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/stargazers","contributors_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/contributors","subscribers_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/subscribers","subscription_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/subscription","commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/commits{/sha}","git_commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/commits{/sha}","comments_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/comments{/number}","issue_comment_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues/comments{/number}","contents_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/contents/{+path}","compare_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/merges","archive_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/downloads","issues_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues{/number}","pulls_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls{/number}","milestones_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/milestones{/number}","notifications_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/labels{/name}","releases_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/releases{/id}","deployments_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/deployments","created_at":"2016-06-28T13:37:43Z","updated_at":"2016-08-24T12:55:44Z","pushed_at":"2016-09-13T11:15:45Z","git_url":"git://github.com/kuzzleio/kuzzle-backoffice.git","ssh_url":"git@github.com:kuzzleio/kuzzle-backoffice.git","clone_url":"https://github.com/kuzzleio/kuzzle-backoffice.git","svn_url":"https://github.com/kuzzleio/kuzzle-backoffice","homepage":null,"size":1948,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":5,"default_branch":"master"}},"base":{"label":"kuzzleio:develop","ref":"develop","sha":"573341bd26d2fac1d48e284277debadb5192c6b2","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":62143758,"name":"kuzzle-backoffice","full_name":"kuzzleio/kuzzle-backoffice","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-backoffice","description":"A convenient back-office for Kuzzle.io","fork":false,"url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice","forks_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/forks","keys_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/teams","hooks_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/hooks","issue_events_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues/events{/number}","events_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/events","assignees_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/assignees{/user}","branches_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/branches{/branch}","tags_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/tags","blobs_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/refs{/sha}","trees_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/statuses/{sha}","languages_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/languages","stargazers_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/stargazers","contributors_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/contributors","subscribers_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/subscribers","subscription_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/subscription","commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/commits{/sha}","git_commits_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/git/commits{/sha}","comments_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/comments{/number}","issue_comment_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues/comments{/number}","contents_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/contents/{+path}","compare_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/merges","archive_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/downloads","issues_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues{/number}","pulls_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls{/number}","milestones_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/milestones{/number}","notifications_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/labels{/name}","releases_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/releases{/id}","deployments_url":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/deployments","created_at":"2016-06-28T13:37:43Z","updated_at":"2016-08-24T12:55:44Z","pushed_at":"2016-09-13T11:15:45Z","git_url":"git://github.com/kuzzleio/kuzzle-backoffice.git","ssh_url":"git@github.com:kuzzleio/kuzzle-backoffice.git","clone_url":"https://github.com/kuzzleio/kuzzle-backoffice.git","svn_url":"https://github.com/kuzzleio/kuzzle-backoffice","homepage":null,"size":1948,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/102"},"html":{"href":"https://github.com/kuzzleio/kuzzle-backoffice/pull/102"},"issue":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues/102"},"comments":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/kuzzleio/kuzzle-backoffice/statuses/03d7cb6dae04642a3c4b59f9a8fd22782efd70e4"}}}}
{"actor":{"display_login":"stafyniaksacha"}}