Added default role generation for tenant models
added allow function