How to control visibility of modules using manifest

Hi,

In connect i have 2 modules:
“serviceDeskPortalRequestViewActions” and “serviceDeskPortalRequestCreatePropertyPanels”, In both these modules i can define conditions like below:

{
										"condition": "addon_property_equal_to",
										"invert": true,
										"params": {
											"entity": "addon",
											"propertyKey": "${addon.key}-default-service-panel-enabled",
											"value": "false"
										}
									}

This condition determines section’s visibility on UI.

Now while converting this to forge, we have “jiraServiceManagement:portalRequestViewAction” and “jiraServiceManagement:portalRequestCreatePropertyPanel”.
But I do not see any provision to control visibility of these modules on ui.

How can i do this?

Thanks
Shiv

I don’t believe it’s possible to do in Forge. You can control after the function is invoked, but I don’t think before. See a previous discussion.