{"action":"created","comment":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments/74669713","id":74669713,"diff_hunk":"@@ -23,7 +23,7 @@ LDAP_DEFAULTS = {\n  @class LDAP\n  @constructor\n  */\n-let LDAP = function () {\n+LDAP = function () {","path":"shell/server/accounts/ldap/ldap-server.js","position":5,"original_position":5,"commit_id":"7a2b03a7a17186686c88cc009d16e9fa82464559","original_commit_id":"7a2b03a7a17186686c88cc009d16e9fa82464559","user":{"login":"jparyani","id":1595880,"avatar_url":"https://avatars.githubusercontent.com/u/1595880?v=3","gravatar_id":"","url":"https://api.github.com/users/jparyani","html_url":"https://github.com/jparyani","followers_url":"https://api.github.com/users/jparyani/followers","following_url":"https://api.github.com/users/jparyani/following{/other_user}","gists_url":"https://api.github.com/users/jparyani/gists{/gist_id}","starred_url":"https://api.github.com/users/jparyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparyani/subscriptions","organizations_url":"https://api.github.com/users/jparyani/orgs","repos_url":"https://api.github.com/users/jparyani/repos","events_url":"https://api.github.com/users/jparyani/events{/privacy}","received_events_url":"https://api.github.com/users/jparyani/received_events","type":"User","site_admin":false},"body":"I'm open to suggestions on what to do then. We've tried to move away from using packages, which is the only other reasonable way I know how to do this.","created_at":"2016-08-12T22:30:25Z","updated_at":"2016-08-12T22:30:25Z","html_url":"https://github.com/sandstorm-io/sandstorm/pull/2379#discussion_r74669713","pull_request_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/2379","_links":{"self":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments/74669713"},"html":{"href":"https://github.com/sandstorm-io/sandstorm/pull/2379#discussion_r74669713"},"pull_request":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/2379"}}},"pull_request":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/2379","id":81172397,"html_url":"https://github.com/sandstorm-io/sandstorm/pull/2379","diff_url":"https://github.com/sandstorm-io/sandstorm/pull/2379.diff","patch_url":"https://github.com/sandstorm-io/sandstorm/pull/2379.patch","issue_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/2379","number":2379,"state":"open","locked":false,"title":"Add customizable quota management","user":{"login":"jparyani","id":1595880,"avatar_url":"https://avatars.githubusercontent.com/u/1595880?v=3","gravatar_id":"","url":"https://api.github.com/users/jparyani","html_url":"https://github.com/jparyani","followers_url":"https://api.github.com/users/jparyani/followers","following_url":"https://api.github.com/users/jparyani/following{/other_user}","gists_url":"https://api.github.com/users/jparyani/gists{/gist_id}","starred_url":"https://api.github.com/users/jparyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparyani/subscriptions","organizations_url":"https://api.github.com/users/jparyani/orgs","repos_url":"https://api.github.com/users/jparyani/repos","events_url":"https://api.github.com/users/jparyani/events{/privacy}","received_events_url":"https://api.github.com/users/jparyani/received_events","type":"User","site_admin":false},"body":"There is a new route, `/admin/hosting-management`, that is not linked to from the admin panel that allows configuring this.\r\n\r\nIt's a bit convoluted at the moment, but you must have both SAML and LDAP identity providers configured (although LDAP can be disabled as long as it has working settings). The email from your SAML identity will be used to query the LDAP directory, and fetch a field that provides the user's quota (in bytes).","created_at":"2016-08-12T19:42:21Z","updated_at":"2016-08-12T22:30:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83f540083b9813899685736d0b70763f9983cf4f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/2379/commits","review_comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/2379/comments","review_comment_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/2379/comments","statuses_url":"https://api.github.com/repos/sandstorm-io/sandstorm/statuses/7a2b03a7a17186686c88cc009d16e9fa82464559","head":{"label":"jparyani:add-customizable-quota-management","ref":"add-customizable-quota-management","sha":"7a2b03a7a17186686c88cc009d16e9fa82464559","user":{"login":"jparyani","id":1595880,"avatar_url":"https://avatars.githubusercontent.com/u/1595880?v=3","gravatar_id":"","url":"https://api.github.com/users/jparyani","html_url":"https://github.com/jparyani","followers_url":"https://api.github.com/users/jparyani/followers","following_url":"https://api.github.com/users/jparyani/following{/other_user}","gists_url":"https://api.github.com/users/jparyani/gists{/gist_id}","starred_url":"https://api.github.com/users/jparyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparyani/subscriptions","organizations_url":"https://api.github.com/users/jparyani/orgs","repos_url":"https://api.github.com/users/jparyani/repos","events_url":"https://api.github.com/users/jparyani/events{/privacy}","received_events_url":"https://api.github.com/users/jparyani/received_events","type":"User","site_admin":false},"repo":{"id":18074973,"name":"sandstorm","full_name":"jparyani/sandstorm","owner":{"login":"jparyani","id":1595880,"avatar_url":"https://avatars.githubusercontent.com/u/1595880?v=3","gravatar_id":"","url":"https://api.github.com/users/jparyani","html_url":"https://github.com/jparyani","followers_url":"https://api.github.com/users/jparyani/followers","following_url":"https://api.github.com/users/jparyani/following{/other_user}","gists_url":"https://api.github.com/users/jparyani/gists{/gist_id}","starred_url":"https://api.github.com/users/jparyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jparyani/subscriptions","organizations_url":"https://api.github.com/users/jparyani/orgs","repos_url":"https://api.github.com/users/jparyani/repos","events_url":"https://api.github.com/users/jparyani/events{/privacy}","received_events_url":"https://api.github.com/users/jparyani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jparyani/sandstorm","description":"Personal Cloud Sandbox","fork":true,"url":"https://api.github.com/repos/jparyani/sandstorm","forks_url":"https://api.github.com/repos/jparyani/sandstorm/forks","keys_url":"https://api.github.com/repos/jparyani/sandstorm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jparyani/sandstorm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jparyani/sandstorm/teams","hooks_url":"https://api.github.com/repos/jparyani/sandstorm/hooks","issue_events_url":"https://api.github.com/repos/jparyani/sandstorm/issues/events{/number}","events_url":"https://api.github.com/repos/jparyani/sandstorm/events","assignees_url":"https://api.github.com/repos/jparyani/sandstorm/assignees{/user}","branches_url":"https://api.github.com/repos/jparyani/sandstorm/branches{/branch}","tags_url":"https://api.github.com/repos/jparyani/sandstorm/tags","blobs_url":"https://api.github.com/repos/jparyani/sandstorm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jparyani/sandstorm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jparyani/sandstorm/git/refs{/sha}","trees_url":"https://api.github.com/repos/jparyani/sandstorm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jparyani/sandstorm/statuses/{sha}","languages_url":"https://api.github.com/repos/jparyani/sandstorm/languages","stargazers_url":"https://api.github.com/repos/jparyani/sandstorm/stargazers","contributors_url":"https://api.github.com/repos/jparyani/sandstorm/contributors","subscribers_url":"https://api.github.com/repos/jparyani/sandstorm/subscribers","subscription_url":"https://api.github.com/repos/jparyani/sandstorm/subscription","commits_url":"https://api.github.com/repos/jparyani/sandstorm/commits{/sha}","git_commits_url":"https://api.github.com/repos/jparyani/sandstorm/git/commits{/sha}","comments_url":"https://api.github.com/repos/jparyani/sandstorm/comments{/number}","issue_comment_url":"https://api.github.com/repos/jparyani/sandstorm/issues/comments{/number}","contents_url":"https://api.github.com/repos/jparyani/sandstorm/contents/{+path}","compare_url":"https://api.github.com/repos/jparyani/sandstorm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jparyani/sandstorm/merges","archive_url":"https://api.github.com/repos/jparyani/sandstorm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jparyani/sandstorm/downloads","issues_url":"https://api.github.com/repos/jparyani/sandstorm/issues{/number}","pulls_url":"https://api.github.com/repos/jparyani/sandstorm/pulls{/number}","milestones_url":"https://api.github.com/repos/jparyani/sandstorm/milestones{/number}","notifications_url":"https://api.github.com/repos/jparyani/sandstorm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jparyani/sandstorm/labels{/name}","releases_url":"https://api.github.com/repos/jparyani/sandstorm/releases{/id}","deployments_url":"https://api.github.com/repos/jparyani/sandstorm/deployments","created_at":"2014-03-24T19:10:17Z","updated_at":"2016-03-25T04:08:10Z","pushed_at":"2016-08-12T22:13:36Z","git_url":"git://github.com/jparyani/sandstorm.git","ssh_url":"git@github.com:jparyani/sandstorm.git","clone_url":"https://github.com/jparyani/sandstorm.git","svn_url":"https://github.com/jparyani/sandstorm","homepage":null,"size":13570,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"sandstorm-io:master","ref":"master","sha":"bba630962c8f8c0d0ec282972fa67bef90c0f2cb","user":{"login":"sandstorm-io","id":7479094,"avatar_url":"https://avatars.githubusercontent.com/u/7479094?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstorm-io","html_url":"https://github.com/sandstorm-io","followers_url":"https://api.github.com/users/sandstorm-io/followers","following_url":"https://api.github.com/users/sandstorm-io/following{/other_user}","gists_url":"https://api.github.com/users/sandstorm-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstorm-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstorm-io/subscriptions","organizations_url":"https://api.github.com/users/sandstorm-io/orgs","repos_url":"https://api.github.com/users/sandstorm-io/repos","events_url":"https://api.github.com/users/sandstorm-io/events{/privacy}","received_events_url":"https://api.github.com/users/sandstorm-io/received_events","type":"Organization","site_admin":false},"repo":{"id":15728293,"name":"sandstorm","full_name":"sandstorm-io/sandstorm","owner":{"login":"sandstorm-io","id":7479094,"avatar_url":"https://avatars.githubusercontent.com/u/7479094?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstorm-io","html_url":"https://github.com/sandstorm-io","followers_url":"https://api.github.com/users/sandstorm-io/followers","following_url":"https://api.github.com/users/sandstorm-io/following{/other_user}","gists_url":"https://api.github.com/users/sandstorm-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstorm-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstorm-io/subscriptions","organizations_url":"https://api.github.com/users/sandstorm-io/orgs","repos_url":"https://api.github.com/users/sandstorm-io/repos","events_url":"https://api.github.com/users/sandstorm-io/events{/privacy}","received_events_url":"https://api.github.com/users/sandstorm-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sandstorm-io/sandstorm","description":"Personal Cloud Sandbox","fork":false,"url":"https://api.github.com/repos/sandstorm-io/sandstorm","forks_url":"https://api.github.com/repos/sandstorm-io/sandstorm/forks","keys_url":"https://api.github.com/repos/sandstorm-io/sandstorm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandstorm-io/sandstorm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandstorm-io/sandstorm/teams","hooks_url":"https://api.github.com/repos/sandstorm-io/sandstorm/hooks","issue_events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/events{/number}","events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/events","assignees_url":"https://api.github.com/repos/sandstorm-io/sandstorm/assignees{/user}","branches_url":"https://api.github.com/repos/sandstorm-io/sandstorm/branches{/branch}","tags_url":"https://api.github.com/repos/sandstorm-io/sandstorm/tags","blobs_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandstorm-io/sandstorm/statuses/{sha}","languages_url":"https://api.github.com/repos/sandstorm-io/sandstorm/languages","stargazers_url":"https://api.github.com/repos/sandstorm-io/sandstorm/stargazers","contributors_url":"https://api.github.com/repos/sandstorm-io/sandstorm/contributors","subscribers_url":"https://api.github.com/repos/sandstorm-io/sandstorm/subscribers","subscription_url":"https://api.github.com/repos/sandstorm-io/sandstorm/subscription","commits_url":"https://api.github.com/repos/sandstorm-io/sandstorm/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/comments{/number}","contents_url":"https://api.github.com/repos/sandstorm-io/sandstorm/contents/{+path}","compare_url":"https://api.github.com/repos/sandstorm-io/sandstorm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandstorm-io/sandstorm/merges","archive_url":"https://api.github.com/repos/sandstorm-io/sandstorm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandstorm-io/sandstorm/downloads","issues_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues{/number}","pulls_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls{/number}","milestones_url":"https://api.github.com/repos/sandstorm-io/sandstorm/milestones{/number}","notifications_url":"https://api.github.com/repos/sandstorm-io/sandstorm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandstorm-io/sandstorm/labels{/name}","releases_url":"https://api.github.com/repos/sandstorm-io/sandstorm/releases{/id}","deployments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/deployments","created_at":"2014-01-08T07:10:33Z","updated_at":"2016-08-12T15:01:09Z","pushed_at":"2016-08-12T22:13:35Z","git_url":"git://github.com/sandstorm-io/sandstorm.git","ssh_url":"git@github.com:sandstorm-io/sandstorm.git","clone_url":"https://github.com/sandstorm-io/sandstorm.git","svn_url":"https://github.com/sandstorm-io/sandstorm","homepage":"https://sandstorm.io","size":38855,"stargazers_count":3765,"watchers_count":3765,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":337,"mirror_url":null,"open_issues_count":451,"forks":337,"open_issues":451,"watchers":3765,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/2379"},"html":{"href":"https://github.com/sandstorm-io/sandstorm/pull/2379"},"issue":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/2379"},"comments":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/2379/comments"},"review_comments":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/2379/comments"},"review_comment":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/2379/commits"},"statuses":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/statuses/7a2b03a7a17186686c88cc009d16e9fa82464559"}}}}
{"actor":{"display_login":"jparyani"}}