Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,8 @@
"Apis.Details.Configuration.components.storeVisibility.tooltip.public.desc": "The {type} is accessible to everyone and can be advertised in multiple developer portals - a central developer portal and/or non-WSO2 developer portals.",
"Apis.Details.Configuration.components.storeVisibility.tooltip.restrict": "Restricted by roles(s) :",
"Apis.Details.Configuration.components.storeVisibility.tooltip.restrict.desc": "The {type} is visible only to specific user roles in the tenant developer portal that you specify.",
"Apis.Details.Configuration.components.storeVisibility.tooltip.private": "Visible to my domain :",
"Apis.Details.Configuration.components.storeVisibility.tooltip.private.desc": "The {type} is visible to all users who are registered to the {type2}'s tenant domain.",
"Apis.Details.Configuration.components.transport.empty": "Please select at least one transport!",
"Apis.Details.Configuration.components.transport.sslHttps": "Please select Https as transport with mutual SSL!",
"Apis.Details.Configurations.api.categories": "Categories",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,29 @@ export default function StoreVisibility(props) {
type: getTypeToDisplay(api.apiType)
}}
/>
{tenants !== 0 && (
<>
<br />
<br />
<strong>
<FormattedMessage
id='Apis.Details.Configuration.components.storeVisibility.tooltip.private'
defaultMessage='Visible to my domain :'
/>
</strong>
{' '}
<FormattedMessage
id='Apis.Details.Configuration.components.storeVisibility.tooltip.private.desc'
defaultMessage={
'The {type} is visible to all users who are registered to the {type2}\'s tenant domain.'
}
values={{
type: getTypeToDisplay(api.apiType),
type2: getTypeToDisplay(api.apiType)
}}
/>
</>
)}
</p>
</>
)}
Expand Down