{"action":"created","issue":{"url":"https://api.github.com/repos/inveniosoftware/invenio-access/issues/74","repository_url":"https://api.github.com/repos/inveniosoftware/invenio-access","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-access/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-access/issues/74/comments","events_url":"https://api.github.com/repos/inveniosoftware/invenio-access/issues/74/events","html_url":"https://github.com/inveniosoftware/invenio-access/pull/74","id":166075301,"number":74,"title":"docs: discovering actions","user":{"login":"kaplun","id":119349,"avatar_url":"https://avatars.githubusercontent.com/u/119349?v=3","gravatar_id":"","url":"https://api.github.com/users/kaplun","html_url":"https://github.com/kaplun","followers_url":"https://api.github.com/users/kaplun/followers","following_url":"https://api.github.com/users/kaplun/following{/other_user}","gists_url":"https://api.github.com/users/kaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/kaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaplun/subscriptions","organizations_url":"https://api.github.com/users/kaplun/orgs","repos_url":"https://api.github.com/users/kaplun/repos","events_url":"https://api.github.com/users/kaplun/events{/privacy}","received_events_url":"https://api.github.com/users/kaplun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inveniosoftware/invenio-access/labels/in_work","name":"in_work","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"kaplun","id":119349,"avatar_url":"https://avatars.githubusercontent.com/u/119349?v=3","gravatar_id":"","url":"https://api.github.com/users/kaplun","html_url":"https://github.com/kaplun","followers_url":"https://api.github.com/users/kaplun/followers","following_url":"https://api.github.com/users/kaplun/following{/other_user}","gists_url":"https://api.github.com/users/kaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/kaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaplun/subscriptions","organizations_url":"https://api.github.com/users/kaplun/orgs","repos_url":"https://api.github.com/users/kaplun/repos","events_url":"https://api.github.com/users/kaplun/events{/privacy}","received_events_url":"https://api.github.com/users/kaplun/received_events","type":"User","site_admin":false},"assignees":[{"login":"kaplun","id":119349,"avatar_url":"https://avatars.githubusercontent.com/u/119349?v=3","gravatar_id":"","url":"https://api.github.com/users/kaplun","html_url":"https://github.com/kaplun","followers_url":"https://api.github.com/users/kaplun/followers","following_url":"https://api.github.com/users/kaplun/following{/other_user}","gists_url":"https://api.github.com/users/kaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/kaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaplun/subscriptions","organizations_url":"https://api.github.com/users/kaplun/orgs","repos_url":"https://api.github.com/users/kaplun/repos","events_url":"https://api.github.com/users/kaplun/events{/privacy}","received_events_url":"https://api.github.com/users/kaplun/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio-access/milestones/6","html_url":"https://github.com/inveniosoftware/invenio-access/milestones/I3B-API-Docs","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-access/milestones/6/labels","id":1888966,"number":6,"title":"I3B-API-Docs","description":null,"creator":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2016-07-18T09:28:31Z","updated_at":"2016-07-19T09:44:11Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-07-18T11:43:44Z","updated_at":"2016-07-19T21:34:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio-access/pulls/74","html_url":"https://github.com/inveniosoftware/invenio-access/pull/74","diff_url":"https://github.com/inveniosoftware/invenio-access/pull/74.diff","patch_url":"https://github.com/inveniosoftware/invenio-access/pull/74.patch"},"body":"* BETTER Adds section in the documentation on how to discover\r\n  existing actions.\r\n\r\nSigned-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>"},"comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio-access/issues/comments/233773454","html_url":"https://github.com/inveniosoftware/invenio-access/pull/74#issuecomment-233773454","issue_url":"https://api.github.com/repos/inveniosoftware/invenio-access/issues/74","id":233773454,"user":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T21:34:33Z","updated_at":"2016-07-19T21:34:33Z","body":"Note also that one can use CLI to discover registered actions, I think @lnielsen mentioned that in the past. \r\n\r\nHere's an example:\r\n\r\n```console\r\n$ cd examples\r\n$ export FLASK_APP=app.py\r\n$ flask access list\r\nread:\r\nopen:\r\nadmin-access:\r\nsuperuser-access:\r\n```"}}
{"actor":{"display_login":"tiborsimko"}}