ResourceVisibility
Extends:
react~Component → ResourceVisibility
ResourceVisibility - an icon representing resource visibility. If allowed setting different visibility than current, clicking the icon will show a popup with the visibility options. To approve the visibility change a confirm modal is shown.
Access
Stage.Basic.ResourceVisibility
Usage
ResourceVisibility (show)

<ResourceVisibility visibility={consts.visibility.PRIVATE.name} />
<ResourceVisibility visibility={consts.visibility.TENANT.name} />
<ResourceVisibility visibility={consts.visibility.GLOBAL.name} />
Static Member Summary
| Static Public Members | ||
| public static |
propTypes: * |
|
Static Public Members
public static propTypes: * source
Properties:
| Name | Type | Attribute | Description |
| visibility | string |
|
resource visibility - in ['private', 'tenant, 'global', 'unknown'] |
| onSetVisibility(visibility) | func |
|
function to be called when user confirm changing visibility |
| allowedSettingTo | Array |
|
array of visibilities the item is allowed to change to |
| className | string |
|
Name of the style class to be added |
Manual
Reference
Source
