adamant-kite-43734
10/18/2023, 10:14 AMstocky-account-63046
10/18/2023, 1:41 PMstocky-account-63046
10/18/2023, 1:42 PMfew-caravan-91238
10/18/2023, 1:44 PMvirtualType
)stocky-account-63046
10/18/2023, 1:48 PM// ifHave, -- Show this product only if the given capability is available
// ifHaveGroup, -- Show this product only if the given group exists in the store [inStore]
// ifHaveType, -- Show this product only if the given type exists in the store [inStore], This can also be specified as an object { type: TYPE, store: 'management' } if the type isn't in the current [inStore]
// ifHaveVerb, -- In combination with ifHaveTYpe, show it only if the type also has this collectionMethod
unfortunately I don't think we have one for role/s, but there is ifHaveType & ifHaveVerv for singular resource typesfew-caravan-91238
10/18/2023, 1:54 PMstocky-account-63046
10/18/2023, 2:13 PMproduct({
ifHaveGroup: '<http://longhorn.io|longhorn.io>',
icon: 'longhorn'
});
They use the ifHaveGroup. If a user can see any resource in that group the button will be visiblefew-caravan-91238
10/18/2023, 2:36 PM