Allow editing grid only to authorized users

Is it possible to allow editing to only authorized users?



I would like to limit editing, add row and delete row only to certain users in a Windows domain.

While you can enable or disable mentioned operations through API of grid, doing it only on client side would be unwise. JS code can be altered on the fly with very small efforts. ( so, removing such kind of check on client side is very easy )
The good solution must double-check is operation allowed or not on server side, before making changes in DB or other kind of data source.