Currently, an only boolean option is present for HR admin to hide/show action. This enhancement is for greater control of under which conditions we see secondary actions