Role checks and client class validator