Check permissions for write operations
First implementation for all allowed operations