{"push_id":1797490861,"size":7,"distinct_size":1,"ref":"refs/heads/PP-1608-Remove_user_from_service","head":"23fcb12fc35239bf84de68fcd88ff8cfdc3ef7a2","before":"502692fc9c87d52b929762fef612ba7a023964ce","commits":[{"sha":"ddc0dbd6aaa29925d01e246d88fc99598f5ea627","author":{"name":"Kasun Kumara","email":"1e5e9cf5cbd5d8f097eff5f01f916377bb156e68@digital.cabinet-office.gov.uk"},"message":"PP-2147 refactored invite user resource in to InviteResource\n\n- Deprecated InviteService.create() in favour of atomic UserInviteCreator service class.\n- Refactored integration / unit tests\n\nwith @maxcbc","distinct":false,"url":"https://api.github.com/repos/alphagov/pay-adminusers/commits/ddc0dbd6aaa29925d01e246d88fc99598f5ea627"},{"sha":"66df05a9b6caefe3db1699f09cebd5381a5462a7","author":{"name":"Kasun Kumara","email":"1e5e9cf5cbd5d8f097eff5f01f916377bb156e68@digital.cabinet-office.gov.uk"},"message":"PP-2147 resend Service Invite if valid one already exists\n\nAnd update the phone number from the new request\n\nwith @maxcbc","distinct":false,"url":"https://api.github.com/repos/alphagov/pay-adminusers/commits/66df05a9b6caefe3db1699f09cebd5381a5462a7"},{"sha":"85692eeffc416a80eb96ebab3c0440847de3ca1a","author":{"name":"Kasun Kumara","email":"1e5e9cf5cbd5d8f097eff5f01f916377bb156e68@digital.cabinet-office.gov.uk"},"message":"PP-2147 handling the service invite password\n\nAnd setting user invite type explicitly\n\nwith @maxcbc","distinct":false,"url":"https://api.github.com/repos/alphagov/pay-adminusers/commits/85692eeffc416a80eb96ebab3c0440847de3ca1a"},{"sha":"19b234734492e1e5f5b2aa293e5f63585d3ccd18","author":{"name":"Kasun Kumara","email":"1e5e9cf5cbd5d8f097eff5f01f916377bb156e68@digital.cabinet-office.gov.uk"},"message":"PP-2147 updated readme for user invite create resource\n\nwith @maxcbc","distinct":false,"url":"https://api.github.com/repos/alphagov/pay-adminusers/commits/19b234734492e1e5f5b2aa293e5f63585d3ccd18"},{"sha":"b03fa70c1dc0c1225fae740f06fa850e15e24b70","author":{"name":"Kasun Kumara","email":"1e5e9cf5cbd5d8f097eff5f01f916377bb156e68@digital.cabinet-office.gov.uk"},"message":"PP-2147 addressed review comment\n\nrefactored awkwardy if statement and replaced with a lambda.\n\nwith @maxcbc","distinct":false,"url":"https://api.github.com/repos/alphagov/pay-adminusers/commits/b03fa70c1dc0c1225fae740f06fa850e15e24b70"},{"sha":"1b40901cea52a418a874ab23ef5e206ea25c40b6","author":{"name":"Raul Garcia","email":"bbdd4e5d6aaacd1fd871a199515f57f53e8d77c1@thenesor.com"},"message":"Merge pull request #95 from alphagov/PP-2147_refactor_invitation_logic\n\nPP-2147 Refactor Invitation Logic","distinct":false,"url":"https://api.github.com/repos/alphagov/pay-adminusers/commits/1b40901cea52a418a874ab23ef5e206ea25c40b6"},{"sha":"23fcb12fc35239bf84de68fcd88ff8cfdc3ef7a2","author":{"name":"Raul Garcia","email":"bbdd4e5d6aaacd1fd871a199515f57f53e8d77c1@thenesor.com"},"message":"PP-1608 Remove user from a Service.\n\n    - Added resource (DELETE) to remove a user from a service\n      `/v1/api/services/{serviceExternalId}/users/{userExternalId}`\n\n    - It requires a payload containing the external Id of the user\n      performing the removal. Ie:\n      `{\n    \t \"remover_id\": \"fahjd7237ebjhdadasd\"\n       }`\n\n    - Returns a `200 OK` when removing an user from a service\n      suceeded\n\n    - Returns a `400 BAD REQUEST` when payload is malformed or\n      remover is missing\n\n    - A users cannot remove themselves. Returns `409 Conflict` when\n      user to be removed  is same as the remover\n\n    - User performing the removal must be Admin (`403 Forbidden`\n      otherwise)\n\n    - If the userExternalId does not belong to the given service,\n      returns`404 Not Found`.\n\n    - Remover does not belong to the same service or is not an Admin\n      of the given service or does not exist it returns a `403 Forbidden`","distinct":true,"url":"https://api.github.com/repos/alphagov/pay-adminusers/commits/23fcb12fc35239bf84de68fcd88ff8cfdc3ef7a2"}]}
{"actor":{"display_login":"rauligs"}}