{"action":"created","issue":{"url":"https://api.github.com/repos/xwiki-labs/cryptpad/issues/210","repository_url":"https://api.github.com/repos/xwiki-labs/cryptpad","labels_url":"https://api.github.com/repos/xwiki-labs/cryptpad/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/xwiki-labs/cryptpad/issues/210/comments","events_url":"https://api.github.com/repos/xwiki-labs/cryptpad/issues/210/events","html_url":"https://github.com/xwiki-labs/cryptpad/issues/210","id":282914818,"number":210,"title":"Custom limits syntax","user":{"login":"kanellia","id":33666853,"avatar_url":"https://avatars3.githubusercontent.com/u/33666853?v=4","gravatar_id":"","url":"https://api.github.com/users/kanellia","html_url":"https://github.com/kanellia","followers_url":"https://api.github.com/users/kanellia/followers","following_url":"https://api.github.com/users/kanellia/following{/other_user}","gists_url":"https://api.github.com/users/kanellia/gists{/gist_id}","starred_url":"https://api.github.com/users/kanellia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanellia/subscriptions","organizations_url":"https://api.github.com/users/kanellia/orgs","repos_url":"https://api.github.com/users/kanellia/repos","events_url":"https://api.github.com/users/kanellia/events{/privacy}","received_events_url":"https://api.github.com/users/kanellia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-18T15:19:58Z","updated_at":"2017-12-19T09:30:46Z","closed_at":null,"author_association":"NONE","body":"I used the custom limit feature and added some more space to myself.\r\n\r\nWhen I added another admin account, I lost my extra space and he never got his.\r\n\r\nI rebooted the server on both cases and checked for proper file permissions.\r\n\r\nIs this syntax correct?\r\n\r\n```\r\n    customLimits: {\r\n        \"https://pads.sonsofpiracy.org/user/#/1/_adminname_/_blablabla_=\": {\r\n            limit: 500 * 1024 * 1024,\r\n            plan: 'insider',\r\n            note: 'storage space donated by sonsofpiracy.org'\r\n\t\t}\r\n    },     \r\n\tcustomLimits: {\r\n\t\t\"https://pads.sonsofpiracy.org/user/#/1/_adminname2_/_blablabla2_=\": {\r\n            limit: 500 * 1024 * 1024,\r\n            plan: 'insider',\r\n            note: 'storage space donated by sonsofpiracy.org'\r\n\t\t}\r\n\t},\r\n```\r\n\t"},"comment":{"url":"https://api.github.com/repos/xwiki-labs/cryptpad/issues/comments/352688007","html_url":"https://github.com/xwiki-labs/cryptpad/issues/210#issuecomment-352688007","issue_url":"https://api.github.com/repos/xwiki-labs/cryptpad/issues/210","id":352688007,"user":{"login":"ansuz","id":1264398,"avatar_url":"https://avatars2.githubusercontent.com/u/1264398?v=4","gravatar_id":"","url":"https://api.github.com/users/ansuz","html_url":"https://github.com/ansuz","followers_url":"https://api.github.com/users/ansuz/followers","following_url":"https://api.github.com/users/ansuz/following{/other_user}","gists_url":"https://api.github.com/users/ansuz/gists{/gist_id}","starred_url":"https://api.github.com/users/ansuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansuz/subscriptions","organizations_url":"https://api.github.com/users/ansuz/orgs","repos_url":"https://api.github.com/users/ansuz/repos","events_url":"https://api.github.com/users/ansuz/events{/privacy}","received_events_url":"https://api.github.com/users/ansuz/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T09:30:46Z","updated_at":"2017-12-19T09:30:46Z","author_association":"OWNER","body":"I've updated the example config file to illustrate how to set up the server for multiple users."}}
{"actor":{"display_login":"ansuz"}}