Automatically apply roles at object creation time