Hi @iaMarton
As I wrote, data utility in the column really does not care about the disabling/enabling the action. based on the validator.
If user do not have access the action is not shown. But if has access the action is shown and also is enabled.
If you really need to change the behavior you need to rewrite the data utility used for the column adminIconAction
DataUtility class is com.ptc.windchill.enterprise.team.dataUtilities.TeamCCDataUtility
there is method processNmUserAdminIconAction where the action is returned
NmAction var12 = this.getAction("team", "replaceUserInTeam", var1, (WTContainer)null);
log.debug("action returned " + var12.toString());
return var12;
Add a condition that if the nmAction is not enabled return NBSP
NmAction var12 = this.getAction("team", "replaceUserInTeam", var1, (WTContainer)null);
log.debug("action returned " + var12.toString());
if (var12.isEnabled())
{
return var12;
}else{
return TextDisplayComponent.NBSP;
}
This can solve your issue.
PS: configuration of dataUtility for the column adminIconAction is Windchill\codebase\com\ptc\windchill\enterprise\enterprise.dataUtilities.properties
PetrH