{"action":"created","issue":{"url":"https://api.github.com/repos/sakaiproject/sakai/issues/1248","labels_url":"https://api.github.com/repos/sakaiproject/sakai/issues/1248/labels{/name}","comments_url":"https://api.github.com/repos/sakaiproject/sakai/issues/1248/comments","events_url":"https://api.github.com/repos/sakaiproject/sakai/issues/1248/events","html_url":"https://github.com/sakaiproject/sakai/pull/1248","id":114910514,"number":1248,"title":"SAK-30038 Add a webservice to change the active or inactive status of…","user":{"login":"ddelblanco","id":5720144,"avatar_url":"https://avatars.githubusercontent.com/u/5720144?v=3","gravatar_id":"","url":"https://api.github.com/users/ddelblanco","html_url":"https://github.com/ddelblanco","followers_url":"https://api.github.com/users/ddelblanco/followers","following_url":"https://api.github.com/users/ddelblanco/following{/other_user}","gists_url":"https://api.github.com/users/ddelblanco/gists{/gist_id}","starred_url":"https://api.github.com/users/ddelblanco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddelblanco/subscriptions","organizations_url":"https://api.github.com/users/ddelblanco/orgs","repos_url":"https://api.github.com/users/ddelblanco/repos","events_url":"https://api.github.com/users/ddelblanco/events{/privacy}","received_events_url":"https://api.github.com/users/ddelblanco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-03T21:09:02Z","updated_at":"2015-11-06T15:27:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sakaiproject/sakai/pulls/1248","html_url":"https://github.com/sakaiproject/sakai/pull/1248","diff_url":"https://github.com/sakaiproject/sakai/pull/1248.diff","patch_url":"https://github.com/sakaiproject/sakai/pull/1248.patch"},"body":"… a user in a site\r\n\r\nIt checks the permissions of the session to update or not the site, so doesn't need the superuser check.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sakaiproject/sakai/issues/comments/154437806","html_url":"https://github.com/sakaiproject/sakai/pull/1248#issuecomment-154437806","issue_url":"https://api.github.com/repos/sakaiproject/sakai/issues/1248","id":154437806,"user":{"login":"ddelblanco","id":5720144,"avatar_url":"https://avatars.githubusercontent.com/u/5720144?v=3","gravatar_id":"","url":"https://api.github.com/users/ddelblanco","html_url":"https://github.com/ddelblanco","followers_url":"https://api.github.com/users/ddelblanco/followers","following_url":"https://api.github.com/users/ddelblanco/following{/other_user}","gists_url":"https://api.github.com/users/ddelblanco/gists{/gist_id}","starred_url":"https://api.github.com/users/ddelblanco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddelblanco/subscriptions","organizations_url":"https://api.github.com/users/ddelblanco/orgs","repos_url":"https://api.github.com/users/ddelblanco/repos","events_url":"https://api.github.com/users/ddelblanco/events{/privacy}","received_events_url":"https://api.github.com/users/ddelblanco/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T15:27:55Z","updated_at":"2015-11-06T15:27:55Z","body":"Test scenario:\r\n1. Check the status of a user in the selected site. Usually the user should be active.\r\n2. Call the webservices with rest (it is the easier way to test it) \r\n2.1 Open a session with: HTTPS://YOURSERVER/sakai-ws/rest/login/login?id=ADMINID&pw=ADMINPASSWORD\r\n2.2 call it: HTTPS://YOURSERVER/sakai-ws/rest/sakai/changeSiteMemberStatus?sessionid=YOURSESSIONID&siteid=THESITEID&eid=THEUSERTOCHANGEEID&active=true (to make the user active or false to make the user inactive)\r\n3. Go to the the site and view if the user is active or not."}}