{"action":"created","comment":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/comments/40646257","id":40646257,"diff_hunk":"@@ -5,21 +5,23 @@ In Open Orchestra, key contributions such as nodes and contents are subject to a\n It allows several levels of validation by different people from creation to publication. Workflow\n are fully customizable.\n \n-A workflow is composed of steps, each corresponding to a status. Each status is linked to one (or\n-several) other status by a transition. To change a content status or a node status, a contributor\n-must have a right mapping the corresponding transition.\n+A workflow is composed of steps, each corresponding to a status.\n+Each status could be linked to an other by a transition called 'Role'.\n+These roles are grouped in collections called 'Workflow Function'.\n+Finally, in user's administration, it is possible to add a workflow function to a user on a given content type or for nodes.\n \n-For instance, the article content type could have a workflow represented by the following status:\n+For example :\n+    - three statuses : \"draft\", \"pending\" and \"published\"\n+    - two roles : \"DRAFT_TO_PUBLISHED\" (transition \"draft\" to \"published\"), \"PENDING_TO_PUBLISHED\" (transition \"pending\" to \"published\")\n+    - one workflow function: \"Validator\" (containing \"DRAFT_TO_PUBLISHED\" and \"PENDING_TO_PUBLISHED\")\n+    - a user with \"Validator\" function on \"News\" (content type)\n \n-    Draft => Pending => Published\n+There are two kinds of roles, those with link to a \"from\" and a \"to status\" and those without this status links.","path":"en/user_guide/workflow.rst","position":20,"original_position":20,"commit_id":"bfcb30be83baebbda4d5ad2b6078c1c71c406a9c","original_commit_id":"bfcb30be83baebbda4d5ad2b6078c1c71c406a9c","user":{"login":"nicolasThal","id":2675545,"avatar_url":"https://avatars.githubusercontent.com/u/2675545?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasThal","html_url":"https://github.com/nicolasThal","followers_url":"https://api.github.com/users/nicolasThal/followers","following_url":"https://api.github.com/users/nicolasThal/following{/other_user}","gists_url":"https://api.github.com/users/nicolasThal/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasThal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasThal/subscriptions","organizations_url":"https://api.github.com/users/nicolasThal/orgs","repos_url":"https://api.github.com/users/nicolasThal/repos","events_url":"https://api.github.com/users/nicolasThal/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasThal/received_events","type":"User","site_admin":false},"body":"those creating a link between a *from status* and a *to status*, and those without this status link.","created_at":"2015-09-29T08:32:35Z","updated_at":"2015-09-29T08:32:35Z","html_url":"https://github.com/open-orchestra/open-orchestra-docs/pull/97#discussion_r40646257","pull_request_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/comments/40646257"},"html":{"href":"https://github.com/open-orchestra/open-orchestra-docs/pull/97#discussion_r40646257"},"pull_request":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/97","id":46132097,"html_url":"https://github.com/open-orchestra/open-orchestra-docs/pull/97","diff_url":"https://github.com/open-orchestra/open-orchestra-docs/pull/97.diff","patch_url":"https://github.com/open-orchestra/open-orchestra-docs/pull/97.patch","issue_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/97","number":97,"state":"open","locked":false,"title":"Workflow doc","user":{"login":"itkg-nanne","id":6725133,"avatar_url":"https://avatars.githubusercontent.com/u/6725133?v=3","gravatar_id":"","url":"https://api.github.com/users/itkg-nanne","html_url":"https://github.com/itkg-nanne","followers_url":"https://api.github.com/users/itkg-nanne/followers","following_url":"https://api.github.com/users/itkg-nanne/following{/other_user}","gists_url":"https://api.github.com/users/itkg-nanne/gists{/gist_id}","starred_url":"https://api.github.com/users/itkg-nanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itkg-nanne/subscriptions","organizations_url":"https://api.github.com/users/itkg-nanne/orgs","repos_url":"https://api.github.com/users/itkg-nanne/repos","events_url":"https://api.github.com/users/itkg-nanne/events{/privacy}","received_events_url":"https://api.github.com/users/itkg-nanne/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-28T08:44:04Z","updated_at":"2015-09-29T08:32:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95c647ba8aa7b65eeaf7981327daeaf56c0c4a20","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/97/commits","review_comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/97/comments","review_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/97/comments","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/statuses/bfcb30be83baebbda4d5ad2b6078c1c71c406a9c","head":{"label":"open-orchestra:workflowDoc","ref":"workflowDoc","sha":"bfcb30be83baebbda4d5ad2b6078c1c71c406a9c","user":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":33729445,"name":"open-orchestra-docs","full_name":"open-orchestra/open-orchestra-docs","owner":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-orchestra/open-orchestra-docs","description":"The Open Orchestra project documentation","fork":false,"url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs","forks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/forks","keys_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/teams","hooks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/hooks","issue_events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/events{/number}","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/events","assignees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/assignees{/user}","branches_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/branches{/branch}","tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/tags","blobs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/languages","stargazers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/stargazers","contributors_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/contributors","subscribers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/subscribers","subscription_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/subscription","commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/contents/{+path}","compare_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/merges","archive_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/downloads","issues_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues{/number}","pulls_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/labels{/name}","releases_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/releases{/id}","created_at":"2015-04-10T13:19:49Z","updated_at":"2015-07-28T15:20:12Z","pushed_at":"2015-09-28T15:11:05Z","git_url":"git://github.com/open-orchestra/open-orchestra-docs.git","ssh_url":"git@github.com:open-orchestra/open-orchestra-docs.git","clone_url":"https://github.com/open-orchestra/open-orchestra-docs.git","svn_url":"https://github.com/open-orchestra/open-orchestra-docs","homepage":null,"size":3117,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":3,"default_branch":"master"}},"base":{"label":"open-orchestra:master","ref":"master","sha":"ebf67911c6a0771eca8af08c28a1deb42c4d5e7e","user":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":33729445,"name":"open-orchestra-docs","full_name":"open-orchestra/open-orchestra-docs","owner":{"login":"open-orchestra","id":11756116,"avatar_url":"https://avatars.githubusercontent.com/u/11756116?v=3","gravatar_id":"","url":"https://api.github.com/users/open-orchestra","html_url":"https://github.com/open-orchestra","followers_url":"https://api.github.com/users/open-orchestra/followers","following_url":"https://api.github.com/users/open-orchestra/following{/other_user}","gists_url":"https://api.github.com/users/open-orchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/open-orchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-orchestra/subscriptions","organizations_url":"https://api.github.com/users/open-orchestra/orgs","repos_url":"https://api.github.com/users/open-orchestra/repos","events_url":"https://api.github.com/users/open-orchestra/events{/privacy}","received_events_url":"https://api.github.com/users/open-orchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-orchestra/open-orchestra-docs","description":"The Open Orchestra project documentation","fork":false,"url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs","forks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/forks","keys_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/teams","hooks_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/hooks","issue_events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/events{/number}","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/events","assignees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/assignees{/user}","branches_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/branches{/branch}","tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/tags","blobs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/languages","stargazers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/stargazers","contributors_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/contributors","subscribers_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/subscribers","subscription_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/subscription","commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/contents/{+path}","compare_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/merges","archive_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/downloads","issues_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues{/number}","pulls_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/labels{/name}","releases_url":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/releases{/id}","created_at":"2015-04-10T13:19:49Z","updated_at":"2015-07-28T15:20:12Z","pushed_at":"2015-09-28T15:11:05Z","git_url":"git://github.com/open-orchestra/open-orchestra-docs.git","ssh_url":"git@github.com:open-orchestra/open-orchestra-docs.git","clone_url":"https://github.com/open-orchestra/open-orchestra-docs.git","svn_url":"https://github.com/open-orchestra/open-orchestra-docs","homepage":null,"size":3117,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/97"},"html":{"href":"https://github.com/open-orchestra/open-orchestra-docs/pull/97"},"issue":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/97"},"comments":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/open-orchestra/open-orchestra-docs/statuses/bfcb30be83baebbda4d5ad2b6078c1c71c406a9c"}}}}