{"action":"created","issue":{"url":"https://api.github.com/repos/srueegger/www/issues/91","labels_url":"https://api.github.com/repos/srueegger/www/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/srueegger/www/issues/91/comments","events_url":"https://api.github.com/repos/srueegger/www/issues/91/events","html_url":"https://github.com/srueegger/www/issues/91","id":77054631,"number":91,"title":"Admin: Benutzer verwalten","user":{"login":"srueegger","id":11472914,"avatar_url":"https://avatars.githubusercontent.com/u/11472914?v=3","gravatar_id":"","url":"https://api.github.com/users/srueegger","html_url":"https://github.com/srueegger","followers_url":"https://api.github.com/users/srueegger/followers","following_url":"https://api.github.com/users/srueegger/following{/other_user}","gists_url":"https://api.github.com/users/srueegger/gists{/gist_id}","starred_url":"https://api.github.com/users/srueegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srueegger/subscriptions","organizations_url":"https://api.github.com/users/srueegger/orgs","repos_url":"https://api.github.com/users/srueegger/repos","events_url":"https://api.github.com/users/srueegger/events{/privacy}","received_events_url":"https://api.github.com/users/srueegger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/srueegger/www/labels/Neue%20Funktion","name":"Neue Funktion","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"srueegger","id":11472914,"avatar_url":"https://avatars.githubusercontent.com/u/11472914?v=3","gravatar_id":"","url":"https://api.github.com/users/srueegger","html_url":"https://github.com/srueegger","followers_url":"https://api.github.com/users/srueegger/followers","following_url":"https://api.github.com/users/srueegger/following{/other_user}","gists_url":"https://api.github.com/users/srueegger/gists{/gist_id}","starred_url":"https://api.github.com/users/srueegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srueegger/subscriptions","organizations_url":"https://api.github.com/users/srueegger/orgs","repos_url":"https://api.github.com/users/srueegger/repos","events_url":"https://api.github.com/users/srueegger/events{/privacy}","received_events_url":"https://api.github.com/users/srueegger/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/srueegger/www/milestones/7","html_url":"https://github.com/srueegger/www/milestones/Administrationsbereich","labels_url":"https://api.github.com/repos/srueegger/www/milestones/7/labels","id":1094140,"number":7,"title":"Administrationsbereich","description":"Alle Issues die dem Administrationsbereich zuzuordnen sind.","creator":{"login":"srueegger","id":11472914,"avatar_url":"https://avatars.githubusercontent.com/u/11472914?v=3","gravatar_id":"","url":"https://api.github.com/users/srueegger","html_url":"https://github.com/srueegger","followers_url":"https://api.github.com/users/srueegger/followers","following_url":"https://api.github.com/users/srueegger/following{/other_user}","gists_url":"https://api.github.com/users/srueegger/gists{/gist_id}","starred_url":"https://api.github.com/users/srueegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srueegger/subscriptions","organizations_url":"https://api.github.com/users/srueegger/orgs","repos_url":"https://api.github.com/users/srueegger/repos","events_url":"https://api.github.com/users/srueegger/events{/privacy}","received_events_url":"https://api.github.com/users/srueegger/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2015-05-03T16:20:33Z","updated_at":"2015-05-17T10:32:22Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-05-16T14:48:31Z","updated_at":"2015-05-17T10:33:02Z","closed_at":null,"body":"Einige Dinge einbauen\r\n\r\n# Übersicht\r\nOrgProfile einbauen: https://github.com/srueegger/www/issues/68#issuecomment-100644954\r\nSicherheitsabfrage beim löschen von Benutzern/Organisationen (JS)\r\n\r\n# Löschung\r\n## User-Profile\r\nLöschroutine muss überarbeitet werden. Beim löschen eines Benutzers muss folgendes gelöscht werden:\r\n* Das Profil selbst (user Tabelle)\r\n* Die Benutzereinstellungen, E-Mails, etc (plugin_usersettings Tabelle)\r\n* Alle Bewertungen vom und an den User (plugin_userratings Tabelle)\r\n* OrgAdmin, falls der User Admin eines Organisationsprofils ist (plugin_orgprofileadmin Tabelle)\r\n  * Falls nur ein Benutzer Admin des Organisationsprofils ist, wird Das Organisationsprofil ebenfalls gelöscht (plugin_orgprofile)\r\n  * Falls es andere OrgAdmins gibt, werden die Meals vom Organisatiosnprofil auf einen anderen Administrator übertragen\r\n* Alle Meals vom User (plugin_events)\r\n* Alle Fragen vom User (plugin_eventquestions)\r\n* Alle persönlichen Nachrichten vom und an den User (plugin_pm)\r\n* Alle gelesen/ungelesen Status Einträge (plugin_blogread und plugin_eventread Tabellen)\r\n* Alle Freunde vom User (plugin_friends)\r\n\r\nGrundsätzlich sollte die Löschung eines User **nur** im absoluten **Notfall** angewandt werden. Besser ist es das Profil des User zu deaktivieren oder zu blockieren (je nach Fall). Diese zusätzlichen Profilstaten werden hier entwickelt: #1 \r\n\r\n## Organisatiosnprofile löschen\r\n* Das Profil selbst (plugin_orgprofile)\r\n* Alle Admins vom OrgProfil (plugin_orgprofileadmin)\r\n* Alle Events vom OrgProfil (plugin_events)\r\n\r\nAuch hier sollte eine Löschung die letzte Möglichkeit sein (z.B. Nationalsozialistische Organisationsprofile, etc). Um ein Organisationsprofil zu \"deaktivieren\" reicht es eigentlich alle Organisationsadmins zu löschen - Danach kann niemand mehr im Namen vom OrgProfil neue Events erstellen.\r\n\r\n# Organisationsprofile bearbeiten\r\nIm Adminbereich muss es eine Möglichkeit geben, dass Administratoren gewisse Dinge im Administratiosnbereich direkt bearbeiten können. wird hier erledigt: #92 "},"comment":{"url":"https://api.github.com/repos/srueegger/www/issues/comments/102780360","html_url":"https://github.com/srueegger/www/issues/91#issuecomment-102780360","issue_url":"https://api.github.com/repos/srueegger/www/issues/91","id":102780360,"user":{"login":"srueegger","id":11472914,"avatar_url":"https://avatars.githubusercontent.com/u/11472914?v=3","gravatar_id":"","url":"https://api.github.com/users/srueegger","html_url":"https://github.com/srueegger","followers_url":"https://api.github.com/users/srueegger/followers","following_url":"https://api.github.com/users/srueegger/following{/other_user}","gists_url":"https://api.github.com/users/srueegger/gists{/gist_id}","starred_url":"https://api.github.com/users/srueegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srueegger/subscriptions","organizations_url":"https://api.github.com/users/srueegger/orgs","repos_url":"https://api.github.com/users/srueegger/repos","events_url":"https://api.github.com/users/srueegger/events{/privacy}","received_events_url":"https://api.github.com/users/srueegger/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T10:33:02Z","updated_at":"2015-05-17T10:33:02Z","body":"Organisationsprofile können nun bearbeitet werden: https://github.com/srueegger/www/commit/18c68df4395884aa5089683e61e75fb8a2766371\r\n\r\n#92 geschlossen -> Diskussion hier hin zentralisieren."}}