{"action":"opened","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/32211","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/32211/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/32211/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/32211/events","html_url":"https://github.com/owncloud/core/issues/32211","id":346559203,"node_id":"MDU6SXNzdWUzNDY1NTkyMDM=","number":32211,"title":"Extend API of  IConfig to query all oc_preferences ","user":{"login":"IljaN","id":246983,"node_id":"MDQ6VXNlcjI0Njk4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/246983?v=4","gravatar_id":"","url":"https://api.github.com/users/IljaN","html_url":"https://github.com/IljaN","followers_url":"https://api.github.com/users/IljaN/followers","following_url":"https://api.github.com/users/IljaN/following{/other_user}","gists_url":"https://api.github.com/users/IljaN/gists{/gist_id}","starred_url":"https://api.github.com/users/IljaN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IljaN/subscriptions","organizations_url":"https://api.github.com/users/IljaN/orgs","repos_url":"https://api.github.com/users/IljaN/repos","events_url":"https://api.github.com/users/IljaN/events{/privacy}","received_events_url":"https://api.github.com/users/IljaN/received_events","type":"User","site_admin":false},"labels":[{"id":70445580,"node_id":"MDU6TGFiZWw3MDQ0NTU4MA==","url":"https://api.github.com/repos/owncloud/core/labels/discussion","name":"discussion","color":"fbca04","default":false},{"id":12406436,"node_id":"MDU6TGFiZWwxMjQwNjQzNg==","url":"https://api.github.com/repos/owncloud/core/labels/enhancement","name":"enhancement","color":"02e10c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-01T11:26:17Z","updated_at":"2018-08-01T11:26:17Z","closed_at":null,"author_association":"MEMBER","body":"Currently some foreach gymnastics with IConfig and IAppConfig are required to get all values for all apps of a user:\r\n```php\r\n$appList = $this->appConfig->getApps();\r\nforeach ($appList as $app) {\r\n\t$userKeys = $this->config->getUserKeys($userId, $app);\r\n\t   foreach ($userKeys as $key) {\r\n\t\t\t\t....\r\n\t    }\r\n}\r\n```\r\nProposed additions to IConfig:\r\n```getUserKeyValues($userid, $app)``` which returns an array of the stored key\r\n```getAllUserKeyValues($userid)``` "}}
{"actor":{"display_login":"IljaN"}}