{"action":"closed","issue":{"url":"https://api.github.com/repos/sagidayan/SE-Hub/issues/126","labels_url":"https://api.github.com/repos/sagidayan/SE-Hub/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/sagidayan/SE-Hub/issues/126/comments","events_url":"https://api.github.com/repos/sagidayan/SE-Hub/issues/126/events","html_url":"https://github.com/sagidayan/SE-Hub/issues/126","id":98535805,"number":126,"title":"Removing a user from campus would not remove the users from projects/classes within the campus","user":{"login":"sagidayan","id":2984053,"avatar_url":"https://avatars.githubusercontent.com/u/2984053?v=3","gravatar_id":"","url":"https://api.github.com/users/sagidayan","html_url":"https://github.com/sagidayan","followers_url":"https://api.github.com/users/sagidayan/followers","following_url":"https://api.github.com/users/sagidayan/following{/other_user}","gists_url":"https://api.github.com/users/sagidayan/gists{/gist_id}","starred_url":"https://api.github.com/users/sagidayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagidayan/subscriptions","organizations_url":"https://api.github.com/users/sagidayan/orgs","repos_url":"https://api.github.com/users/sagidayan/repos","events_url":"https://api.github.com/users/sagidayan/events{/privacy}","received_events_url":"https://api.github.com/users/sagidayan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sagidayan/SE-Hub/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"aranzaiger","id":4228830,"avatar_url":"https://avatars.githubusercontent.com/u/4228830?v=3","gravatar_id":"","url":"https://api.github.com/users/aranzaiger","html_url":"https://github.com/aranzaiger","followers_url":"https://api.github.com/users/aranzaiger/followers","following_url":"https://api.github.com/users/aranzaiger/following{/other_user}","gists_url":"https://api.github.com/users/aranzaiger/gists{/gist_id}","starred_url":"https://api.github.com/users/aranzaiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aranzaiger/subscriptions","organizations_url":"https://api.github.com/users/aranzaiger/orgs","repos_url":"https://api.github.com/users/aranzaiger/repos","events_url":"https://api.github.com/users/aranzaiger/events{/privacy}","received_events_url":"https://api.github.com/users/aranzaiger/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sagidayan/SE-Hub/milestones/5","html_url":"https://github.com/sagidayan/SE-Hub/milestones/Iteration%202","labels_url":"https://api.github.com/repos/sagidayan/SE-Hub/milestones/5/labels","id":1185748,"number":5,"title":"Iteration 2","description":"","creator":{"login":"sagidayan","id":2984053,"avatar_url":"https://avatars.githubusercontent.com/u/2984053?v=3","gravatar_id":"","url":"https://api.github.com/users/sagidayan","html_url":"https://github.com/sagidayan","followers_url":"https://api.github.com/users/sagidayan/followers","following_url":"https://api.github.com/users/sagidayan/following{/other_user}","gists_url":"https://api.github.com/users/sagidayan/gists{/gist_id}","starred_url":"https://api.github.com/users/sagidayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagidayan/subscriptions","organizations_url":"https://api.github.com/users/sagidayan/orgs","repos_url":"https://api.github.com/users/sagidayan/repos","events_url":"https://api.github.com/users/sagidayan/events{/privacy}","received_events_url":"https://api.github.com/users/sagidayan/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":11,"state":"open","created_at":"2015-06-29T17:40:58Z","updated_at":"2015-08-01T15:18:17Z","due_on":"2015-07-31T21:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-01T12:58:25Z","updated_at":"2015-08-01T15:18:17Z","closed_at":"2015-08-01T15:18:17Z","body":" Steps to reproduce:\n1. create a user via localhost/debug/createUser/QA\n2. copy the token\n3. go to localhost/debug/login\n4. paste the token and submit.\n----- now you are logged in with QA User ----\n5. go to Explore->JCE\n6. create a class\n7. now make this API call: /api/users/removeUserFromCampus/<string:token>/<string:userId>/<string:campusId> (Remove the QA User From the JCE Campus)\n8. go to DB\n\n**Problem**: you are still have the class you made in the User Model. the Class is in the JCE campus"}}