{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/OCA/knowledge/pulls/36","id":28100762,"html_url":"https://github.com/OCA/knowledge/pull/36","diff_url":"https://github.com/OCA/knowledge/pull/36.diff","patch_url":"https://github.com/OCA/knowledge/pull/36.patch","issue_url":"https://api.github.com/repos/OCA/knowledge/issues/36","number":36,"state":"open","locked":false,"title":"[ADD] port document_choose_directory","user":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"body":"Choose document directories\r\n===========================\r\n\r\nThis addon enables users to choose a directory while uploading a file. In\r\ncombination with access permissions on directories, this can be used to\r\nrestrict access on certain records' attachments or simply for a better\r\noverview.\r\n\r\nConfiguration\r\n=============\r\n\r\nCreate a static directory and choose the resource model you want to use this\r\ndirectory on. Assign groups to whom this directory should be accessible. When\r\nuploading a files, users can select one of the directories they have access to,\r\nor no directory which is the default setting.\r\n\r\nKeep in mind that if a directory has a owner, it's only visible for this user,\r\nthat's probably not what you want.","created_at":"2015-01-27T11:18:49Z","updated_at":"2015-01-27T11:18:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/knowledge/pulls/36/commits","review_comments_url":"https://api.github.com/repos/OCA/knowledge/pulls/36/comments","review_comment_url":"https://api.github.com/repos/OCA/knowledge/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OCA/knowledge/issues/36/comments","statuses_url":"https://api.github.com/repos/OCA/knowledge/statuses/68f3483aa1e9028e476e5d8b4a2239a04a8cdbdc","head":{"label":"hbrunn:8.0-document_choose_directory","ref":"8.0-document_choose_directory","sha":"68f3483aa1e9028e476e5d8b4a2239a04a8cdbdc","user":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"repo":{"id":22380378,"name":"knowledge","full_name":"hbrunn/knowledge","owner":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hbrunn/knowledge","description":"","fork":true,"url":"https://api.github.com/repos/hbrunn/knowledge","forks_url":"https://api.github.com/repos/hbrunn/knowledge/forks","keys_url":"https://api.github.com/repos/hbrunn/knowledge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hbrunn/knowledge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hbrunn/knowledge/teams","hooks_url":"https://api.github.com/repos/hbrunn/knowledge/hooks","issue_events_url":"https://api.github.com/repos/hbrunn/knowledge/issues/events{/number}","events_url":"https://api.github.com/repos/hbrunn/knowledge/events","assignees_url":"https://api.github.com/repos/hbrunn/knowledge/assignees{/user}","branches_url":"https://api.github.com/repos/hbrunn/knowledge/branches{/branch}","tags_url":"https://api.github.com/repos/hbrunn/knowledge/tags","blobs_url":"https://api.github.com/repos/hbrunn/knowledge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hbrunn/knowledge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hbrunn/knowledge/git/refs{/sha}","trees_url":"https://api.github.com/repos/hbrunn/knowledge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hbrunn/knowledge/statuses/{sha}","languages_url":"https://api.github.com/repos/hbrunn/knowledge/languages","stargazers_url":"https://api.github.com/repos/hbrunn/knowledge/stargazers","contributors_url":"https://api.github.com/repos/hbrunn/knowledge/contributors","subscribers_url":"https://api.github.com/repos/hbrunn/knowledge/subscribers","subscription_url":"https://api.github.com/repos/hbrunn/knowledge/subscription","commits_url":"https://api.github.com/repos/hbrunn/knowledge/commits{/sha}","git_commits_url":"https://api.github.com/repos/hbrunn/knowledge/git/commits{/sha}","comments_url":"https://api.github.com/repos/hbrunn/knowledge/comments{/number}","issue_comment_url":"https://api.github.com/repos/hbrunn/knowledge/issues/comments/{number}","contents_url":"https://api.github.com/repos/hbrunn/knowledge/contents/{+path}","compare_url":"https://api.github.com/repos/hbrunn/knowledge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hbrunn/knowledge/merges","archive_url":"https://api.github.com/repos/hbrunn/knowledge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hbrunn/knowledge/downloads","issues_url":"https://api.github.com/repos/hbrunn/knowledge/issues{/number}","pulls_url":"https://api.github.com/repos/hbrunn/knowledge/pulls{/number}","milestones_url":"https://api.github.com/repos/hbrunn/knowledge/milestones{/number}","notifications_url":"https://api.github.com/repos/hbrunn/knowledge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hbrunn/knowledge/labels{/name}","releases_url":"https://api.github.com/repos/hbrunn/knowledge/releases{/id}","created_at":"2014-07-29T13:17:17Z","updated_at":"2014-07-08T13:11:58Z","pushed_at":"2015-01-27T11:17:52Z","git_url":"git://github.com/hbrunn/knowledge.git","ssh_url":"git@github.com:hbrunn/knowledge.git","clone_url":"https://github.com/hbrunn/knowledge.git","svn_url":"https://github.com/hbrunn/knowledge","homepage":null,"size":1366,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"0a42df9a1807fa3439206e79ff4b22e66a919601","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"repo":{"id":20894051,"name":"knowledge","full_name":"OCA/knowledge","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OCA/knowledge","description":"Document & Knowledge","fork":false,"url":"https://api.github.com/repos/OCA/knowledge","forks_url":"https://api.github.com/repos/OCA/knowledge/forks","keys_url":"https://api.github.com/repos/OCA/knowledge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/knowledge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/knowledge/teams","hooks_url":"https://api.github.com/repos/OCA/knowledge/hooks","issue_events_url":"https://api.github.com/repos/OCA/knowledge/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/knowledge/events","assignees_url":"https://api.github.com/repos/OCA/knowledge/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/knowledge/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/knowledge/tags","blobs_url":"https://api.github.com/repos/OCA/knowledge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/knowledge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/knowledge/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/knowledge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/knowledge/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/knowledge/languages","stargazers_url":"https://api.github.com/repos/OCA/knowledge/stargazers","contributors_url":"https://api.github.com/repos/OCA/knowledge/contributors","subscribers_url":"https://api.github.com/repos/OCA/knowledge/subscribers","subscription_url":"https://api.github.com/repos/OCA/knowledge/subscription","commits_url":"https://api.github.com/repos/OCA/knowledge/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/knowledge/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/knowledge/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/knowledge/issues/comments/{number}","contents_url":"https://api.github.com/repos/OCA/knowledge/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/knowledge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/knowledge/merges","archive_url":"https://api.github.com/repos/OCA/knowledge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/knowledge/downloads","issues_url":"https://api.github.com/repos/OCA/knowledge/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/knowledge/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/knowledge/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/knowledge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/knowledge/labels{/name}","releases_url":"https://api.github.com/repos/OCA/knowledge/releases{/id}","created_at":"2014-06-16T17:40:10Z","updated_at":"2015-01-22T08:27:12Z","pushed_at":"2015-01-22T08:27:12Z","git_url":"git://github.com/OCA/knowledge.git","ssh_url":"git@github.com:OCA/knowledge.git","clone_url":"https://github.com/OCA/knowledge.git","svn_url":"https://github.com/OCA/knowledge","homepage":"http://www.odoo-community.org/project/22","size":1560,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":9,"forks":12,"open_issues":9,"watchers":3,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/36"},"html":{"href":"https://github.com/OCA/knowledge/pull/36"},"issue":{"href":"https://api.github.com/repos/OCA/knowledge/issues/36"},"comments":{"href":"https://api.github.com/repos/OCA/knowledge/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/knowledge/statuses/68f3483aa1e9028e476e5d8b4a2239a04a8cdbdc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":528,"deletions":0,"changed_files":16}}