Assigning permissions to commands