{"action":"opened","issue":{"url":"https://api.github.com/repos/pitbulk/moodle_saml/issues/13","labels_url":"https://api.github.com/repos/pitbulk/moodle_saml/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/pitbulk/moodle_saml/issues/13/comments","events_url":"https://api.github.com/repos/pitbulk/moodle_saml/issues/13/events","html_url":"https://github.com/pitbulk/moodle_saml/issues/13","id":58945368,"number":13,"title":"saml_config.json in web-root, instead of data-root","user":{"login":"henrikthorn","id":756842,"avatar_url":"https://avatars.githubusercontent.com/u/756842?v=3","gravatar_id":"","url":"https://api.github.com/users/henrikthorn","html_url":"https://github.com/henrikthorn","followers_url":"https://api.github.com/users/henrikthorn/followers","following_url":"https://api.github.com/users/henrikthorn/following{/other_user}","gists_url":"https://api.github.com/users/henrikthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikthorn/subscriptions","organizations_url":"https://api.github.com/users/henrikthorn/orgs","repos_url":"https://api.github.com/users/henrikthorn/repos","events_url":"https://api.github.com/users/henrikthorn/events{/privacy}","received_events_url":"https://api.github.com/users/henrikthorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-25T18:13:14Z","updated_at":"2015-02-25T18:13:14Z","closed_at":null,"body":"\r\nWhen saving settings in the auth/saml module, users will get a warning with a permission denied when trying to write the config to the saml_config.json file in the plugin-root. Instead this file should be saved in Moodledata, allowing the webserver to write to the file. Furthermore this error will make the plugin fail on clustered setup, since the file has to be saved on each frontend, hence the placement of the config file. "}}