Shouldn't calling delete user API will internally delete all (roles,
permissions) data associated with that user?

On Fri, Feb 13, 2015 at 11:01 AM, Shashika Karunatilaka <[email protected]>
wrote:

> HI all,
>
> When adding tenant it creates some of DB level operations sequentially
> as an *example*,
> In tenant creation it creates a user, creates user roles, add permissions
> to the roles and so on
> when deleting there are few options
>
>    1. Delete the role permissions for the user role, delete user roles
>    for the user finally delete the user
>    2. Delete  all the users, roles, role permissions data associated to
>    that tenant
>
> what would be the best approach?
>
> Thank you
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to