{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls/17","id":233938974,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzOTM4OTc0","html_url":"https://github.com/ByteInternet/searchguard-python/pull/17","diff_url":"https://github.com/ByteInternet/searchguard-python/pull/17.diff","patch_url":"https://github.com/ByteInternet/searchguard-python/pull/17.patch","issue_url":"https://api.github.com/repos/ByteInternet/searchguard-python/issues/17","number":17,"state":"open","locked":false,"title":"internalusers.create_password accepts properties (API request body)","user":{"login":"farzadghanei","id":644113,"node_id":"MDQ6VXNlcjY0NDExMw==","avatar_url":"https://avatars3.githubusercontent.com/u/644113?v=4","gravatar_id":"","url":"https://api.github.com/users/farzadghanei","html_url":"https://github.com/farzadghanei","followers_url":"https://api.github.com/users/farzadghanei/followers","following_url":"https://api.github.com/users/farzadghanei/following{/other_user}","gists_url":"https://api.github.com/users/farzadghanei/gists{/gist_id}","starred_url":"https://api.github.com/users/farzadghanei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farzadghanei/subscriptions","organizations_url":"https://api.github.com/users/farzadghanei/orgs","repos_url":"https://api.github.com/users/farzadghanei/repos","events_url":"https://api.github.com/users/farzadghanei/events{/privacy}","received_events_url":"https://api.github.com/users/farzadghanei/received_events","type":"User","site_admin":false},"body":"So the caller can specify roles or other attributes, and it's possible to specify the password hash (instead of the password itself).\r\n\r\nSince the password itself is one of the acceptable properties, it's possible to pass the password as one of the properties, but to avoid ambiguity, if the password is also defined explicitly (not required) and it does not match the specified password in properties, a `ValueError` is raised.\r\n\r\nSo the password can be specified:\r\n\r\n - Just an explicit argument for password\r\n - Only as a property, with no explicit password argument\r\n - Both as explicit password argument and a property, but only if they\r\n match","created_at":"2018-11-27T14:49:26Z","updated_at":"2018-11-27T14:49:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls/17/commits","review_comments_url":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls/17/comments","review_comment_url":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ByteInternet/searchguard-python/issues/17/comments","statuses_url":"https://api.github.com/repos/ByteInternet/searchguard-python/statuses/32da02ce90a9b54ba356f84ea20c8f1a423fddfe","head":{"label":"ByteInternet:create-user-accepts-properties","ref":"create-user-accepts-properties","sha":"32da02ce90a9b54ba356f84ea20c8f1a423fddfe","user":{"login":"ByteInternet","id":1357758,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1357758?v=4","gravatar_id":"","url":"https://api.github.com/users/ByteInternet","html_url":"https://github.com/ByteInternet","followers_url":"https://api.github.com/users/ByteInternet/followers","following_url":"https://api.github.com/users/ByteInternet/following{/other_user}","gists_url":"https://api.github.com/users/ByteInternet/gists{/gist_id}","starred_url":"https://api.github.com/users/ByteInternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ByteInternet/subscriptions","organizations_url":"https://api.github.com/users/ByteInternet/orgs","repos_url":"https://api.github.com/users/ByteInternet/repos","events_url":"https://api.github.com/users/ByteInternet/events{/privacy}","received_events_url":"https://api.github.com/users/ByteInternet/received_events","type":"Organization","site_admin":false},"repo":{"id":154345615,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQzNDU2MTU=","name":"searchguard-python","full_name":"ByteInternet/searchguard-python","private":false,"owner":{"login":"ByteInternet","id":1357758,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1357758?v=4","gravatar_id":"","url":"https://api.github.com/users/ByteInternet","html_url":"https://github.com/ByteInternet","followers_url":"https://api.github.com/users/ByteInternet/followers","following_url":"https://api.github.com/users/ByteInternet/following{/other_user}","gists_url":"https://api.github.com/users/ByteInternet/gists{/gist_id}","starred_url":"https://api.github.com/users/ByteInternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ByteInternet/subscriptions","organizations_url":"https://api.github.com/users/ByteInternet/orgs","repos_url":"https://api.github.com/users/ByteInternet/repos","events_url":"https://api.github.com/users/ByteInternet/events{/privacy}","received_events_url":"https://api.github.com/users/ByteInternet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ByteInternet/searchguard-python","description":"Python library for the Search Guard REST API","fork":false,"url":"https://api.github.com/repos/ByteInternet/searchguard-python","forks_url":"https://api.github.com/repos/ByteInternet/searchguard-python/forks","keys_url":"https://api.github.com/repos/ByteInternet/searchguard-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ByteInternet/searchguard-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ByteInternet/searchguard-python/teams","hooks_url":"https://api.github.com/repos/ByteInternet/searchguard-python/hooks","issue_events_url":"https://api.github.com/repos/ByteInternet/searchguard-python/issues/events{/number}","events_url":"https://api.github.com/repos/ByteInternet/searchguard-python/events","assignees_url":"https://api.github.com/repos/ByteInternet/searchguard-python/assignees{/user}","branches_url":"https://api.github.com/repos/ByteInternet/searchguard-python/branches{/branch}","tags_url":"https://api.github.com/repos/ByteInternet/searchguard-python/tags","blobs_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ByteInternet/searchguard-python/statuses/{sha}","languages_url":"https://api.github.com/repos/ByteInternet/searchguard-python/languages","stargazers_url":"https://api.github.com/repos/ByteInternet/searchguard-python/stargazers","contributors_url":"https://api.github.com/repos/ByteInternet/searchguard-python/contributors","subscribers_url":"https://api.github.com/repos/ByteInternet/searchguard-python/subscribers","subscription_url":"https://api.github.com/repos/ByteInternet/searchguard-python/subscription","commits_url":"https://api.github.com/repos/ByteInternet/searchguard-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/ByteInternet/searchguard-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/ByteInternet/searchguard-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/ByteInternet/searchguard-python/contents/{+path}","compare_url":"https://api.github.com/repos/ByteInternet/searchguard-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ByteInternet/searchguard-python/merges","archive_url":"https://api.github.com/repos/ByteInternet/searchguard-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ByteInternet/searchguard-python/downloads","issues_url":"https://api.github.com/repos/ByteInternet/searchguard-python/issues{/number}","pulls_url":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls{/number}","milestones_url":"https://api.github.com/repos/ByteInternet/searchguard-python/milestones{/number}","notifications_url":"https://api.github.com/repos/ByteInternet/searchguard-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ByteInternet/searchguard-python/labels{/name}","releases_url":"https://api.github.com/repos/ByteInternet/searchguard-python/releases{/id}","deployments_url":"https://api.github.com/repos/ByteInternet/searchguard-python/deployments","created_at":"2018-10-23T14:46:09Z","updated_at":"2018-11-27T10:42:14Z","pushed_at":"2018-11-27T12:57:34Z","git_url":"git://github.com/ByteInternet/searchguard-python.git","ssh_url":"git@github.com:ByteInternet/searchguard-python.git","clone_url":"https://github.com/ByteInternet/searchguard-python.git","svn_url":"https://github.com/ByteInternet/searchguard-python","homepage":null,"size":60,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"ByteInternet:master","ref":"master","sha":"427704bd85ae43582a92e0061d875b3bb9f7f0ef","user":{"login":"ByteInternet","id":1357758,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1357758?v=4","gravatar_id":"","url":"https://api.github.com/users/ByteInternet","html_url":"https://github.com/ByteInternet","followers_url":"https://api.github.com/users/ByteInternet/followers","following_url":"https://api.github.com/users/ByteInternet/following{/other_user}","gists_url":"https://api.github.com/users/ByteInternet/gists{/gist_id}","starred_url":"https://api.github.com/users/ByteInternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ByteInternet/subscriptions","organizations_url":"https://api.github.com/users/ByteInternet/orgs","repos_url":"https://api.github.com/users/ByteInternet/repos","events_url":"https://api.github.com/users/ByteInternet/events{/privacy}","received_events_url":"https://api.github.com/users/ByteInternet/received_events","type":"Organization","site_admin":false},"repo":{"id":154345615,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQzNDU2MTU=","name":"searchguard-python","full_name":"ByteInternet/searchguard-python","private":false,"owner":{"login":"ByteInternet","id":1357758,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1357758?v=4","gravatar_id":"","url":"https://api.github.com/users/ByteInternet","html_url":"https://github.com/ByteInternet","followers_url":"https://api.github.com/users/ByteInternet/followers","following_url":"https://api.github.com/users/ByteInternet/following{/other_user}","gists_url":"https://api.github.com/users/ByteInternet/gists{/gist_id}","starred_url":"https://api.github.com/users/ByteInternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ByteInternet/subscriptions","organizations_url":"https://api.github.com/users/ByteInternet/orgs","repos_url":"https://api.github.com/users/ByteInternet/repos","events_url":"https://api.github.com/users/ByteInternet/events{/privacy}","received_events_url":"https://api.github.com/users/ByteInternet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ByteInternet/searchguard-python","description":"Python library for the Search Guard REST API","fork":false,"url":"https://api.github.com/repos/ByteInternet/searchguard-python","forks_url":"https://api.github.com/repos/ByteInternet/searchguard-python/forks","keys_url":"https://api.github.com/repos/ByteInternet/searchguard-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ByteInternet/searchguard-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ByteInternet/searchguard-python/teams","hooks_url":"https://api.github.com/repos/ByteInternet/searchguard-python/hooks","issue_events_url":"https://api.github.com/repos/ByteInternet/searchguard-python/issues/events{/number}","events_url":"https://api.github.com/repos/ByteInternet/searchguard-python/events","assignees_url":"https://api.github.com/repos/ByteInternet/searchguard-python/assignees{/user}","branches_url":"https://api.github.com/repos/ByteInternet/searchguard-python/branches{/branch}","tags_url":"https://api.github.com/repos/ByteInternet/searchguard-python/tags","blobs_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ByteInternet/searchguard-python/statuses/{sha}","languages_url":"https://api.github.com/repos/ByteInternet/searchguard-python/languages","stargazers_url":"https://api.github.com/repos/ByteInternet/searchguard-python/stargazers","contributors_url":"https://api.github.com/repos/ByteInternet/searchguard-python/contributors","subscribers_url":"https://api.github.com/repos/ByteInternet/searchguard-python/subscribers","subscription_url":"https://api.github.com/repos/ByteInternet/searchguard-python/subscription","commits_url":"https://api.github.com/repos/ByteInternet/searchguard-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/ByteInternet/searchguard-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/ByteInternet/searchguard-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/ByteInternet/searchguard-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/ByteInternet/searchguard-python/contents/{+path}","compare_url":"https://api.github.com/repos/ByteInternet/searchguard-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ByteInternet/searchguard-python/merges","archive_url":"https://api.github.com/repos/ByteInternet/searchguard-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ByteInternet/searchguard-python/downloads","issues_url":"https://api.github.com/repos/ByteInternet/searchguard-python/issues{/number}","pulls_url":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls{/number}","milestones_url":"https://api.github.com/repos/ByteInternet/searchguard-python/milestones{/number}","notifications_url":"https://api.github.com/repos/ByteInternet/searchguard-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ByteInternet/searchguard-python/labels{/name}","releases_url":"https://api.github.com/repos/ByteInternet/searchguard-python/releases{/id}","deployments_url":"https://api.github.com/repos/ByteInternet/searchguard-python/deployments","created_at":"2018-10-23T14:46:09Z","updated_at":"2018-11-27T10:42:14Z","pushed_at":"2018-11-27T12:57:34Z","git_url":"git://github.com/ByteInternet/searchguard-python.git","ssh_url":"git@github.com:ByteInternet/searchguard-python.git","clone_url":"https://github.com/ByteInternet/searchguard-python.git","svn_url":"https://github.com/ByteInternet/searchguard-python","homepage":null,"size":60,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls/17"},"html":{"href":"https://github.com/ByteInternet/searchguard-python/pull/17"},"issue":{"href":"https://api.github.com/repos/ByteInternet/searchguard-python/issues/17"},"comments":{"href":"https://api.github.com/repos/ByteInternet/searchguard-python/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ByteInternet/searchguard-python/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/ByteInternet/searchguard-python/statuses/32da02ce90a9b54ba356f84ea20c8f1a423fddfe"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":110,"deletions":10,"changed_files":2}}
{"actor":{"display_login":"farzadghanei"}}