Hi,

As I remember we are not supporting this with C4 User core.
But better to support this and then we should be able to associate
workflow  to set some approval for deleted users.

-Ishara


On Fri, Nov 11, 2016 at 10:27 AM, Vindula Jayawardana <vind...@wso2.com>
wrote:

> Hi All,
>
> In SCIM /Me endpoint, an authenticated user should be able to delete
> himself as mentioned in specification [1]. However when I try to do that
> using the current user core, I get a user store exception saying
> 'LoggedInUser Cannot delete logged in user'.
>
> One way of how I can handle this is , as mentioned in specification itself
> [2], can respond to HTTP DELETE on /Me endpoint with a HTTP status code 501
> as we can not support it. Or else is there any other good way of handling
> this ?
>
> Any thoughts on this is highly appreciated.
>
> [1] https://tools.ietf.org/html/rfc7644#section-3.2
> [2] https://tools.ietf.org/html/rfc7644#section-3.11
> --
> *Vindula Jayawardana*
> Trainee Software Engineer
> Mobile : +94 713 462554
> Email : vind...@wso2.com
>



-- 
Ishara Karunarathna
Associate Technical Lead
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
+94717996791
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to