> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IAnalyticalDesignerVisualizationAccessProps

- Package: [@gooddata/sdk-ui-analytical-designer](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.68/libs/sdk-ui-analytical-designer/src/embedding/editorHeaderSlotTypes.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Props of the visualization access.

**Signature:**

```typescript
export interface IAnalyticalDesignerVisualizationAccessProps extends IAnalyticalDesignerHeaderContext 
```
**Extends:** [IAnalyticalDesignerHeaderContext](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerheadercontext/index.md)

## Remarks

Analytical Designer resolves this slot also where its own sharing is unavailable, for example when a host embeds it, so that the host can render its own access control there. The access level is read only after `onRequestAccessSummary` is called.

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [accessLevel?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignervisualizationaccessprops/index.md#ianalyticaldesignervisualizationaccesspropsaccesslevel) |  | [ShareStatus](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.sharestatus/index.md) | **_(ALPHA)_** _(Optional)_ Access level of the visualization: `private` when only its owner can open it, `shared` when some users or groups can, and `public` when everyone in the workspace can. Undefined until requested, while loading, or when the read failed. |
| [canManageAccess](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignervisualizationaccessprops/index.md#ianalyticaldesignervisualizationaccesspropscanmanageaccess) |  | boolean | **_(ALPHA)_** Whether the user may change who can open the visualization. |
| [isAccessError](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignervisualizationaccessprops/index.md#ianalyticaldesignervisualizationaccesspropsisaccesserror) |  | boolean | **_(ALPHA)_** Whether the access level could not be read. |
| [isAccessLoading](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignervisualizationaccessprops/index.md#ianalyticaldesignervisualizationaccesspropsisaccessloading) |  | boolean | **_(ALPHA)_** Whether the access level is being read. |
| [isDefaultAvailable](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignervisualizationaccessprops/index.md#ianalyticaldesignervisualizationaccesspropsisdefaultavailable) |  | boolean | **_(ALPHA)_** Whether the built-in sharing is available. The default renders nothing when it is not. |
| [objectTitle](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignervisualizationaccessprops/index.md#ianalyticaldesignervisualizationaccesspropsobjecttitle) |  | string | **_(ALPHA)_** Title of the visualization for the sharing UI, with the untitled placeholder for an empty title. |
| [onRequestAccessSummary](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignervisualizationaccessprops/index.md#ianalyticaldesignervisualizationaccesspropsonrequestaccesssummary) |  | () =&gt; void | **_(ALPHA)_** Starts reading the access level, once. Ignored when the built-in sharing is unavailable. |
| [target?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignervisualizationaccessprops/index.md#ianalyticaldesignervisualizationaccesspropstarget) |  | [IObjectPermissionsObject](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iobjectpermissionsobject/index.md) | **_(ALPHA)_** _(Optional)_ The saved visualization whose access is managed. Undefined for a visualization that is not saved yet; its access is then a draft applied on its first save. |

## Property details

### IAnalyticalDesignerVisualizationAccessProps.accessLevel

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Access level of the visualization: `private` when only its owner can open it, `shared` when some users or groups can, and `public` when everyone in the workspace can. Undefined until requested, while loading, or when the read failed.

**Signature:**

```typescript
accessLevel?: ShareStatus;
```

### IAnalyticalDesignerVisualizationAccessProps.canManageAccess

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the user may change who can open the visualization.

**Signature:**

```typescript
canManageAccess: boolean;
```

### IAnalyticalDesignerVisualizationAccessProps.isAccessError

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the access level could not be read.

**Signature:**

```typescript
isAccessError: boolean;
```

### IAnalyticalDesignerVisualizationAccessProps.isAccessLoading

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the access level is being read.

**Signature:**

```typescript
isAccessLoading: boolean;
```

### IAnalyticalDesignerVisualizationAccessProps.isDefaultAvailable

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the built-in sharing is available. The default renders nothing when it is not.

**Signature:**

```typescript
isDefaultAvailable: boolean;
```

### IAnalyticalDesignerVisualizationAccessProps.objectTitle

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Title of the visualization for the sharing UI, with the untitled placeholder for an empty title.

**Signature:**

```typescript
objectTitle: string;
```

### IAnalyticalDesignerVisualizationAccessProps.onRequestAccessSummary

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Starts reading the access level, once. Ignored when the built-in sharing is unavailable.

**Signature:**

```typescript
onRequestAccessSummary: () => void;
```

### IAnalyticalDesignerVisualizationAccessProps.target

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The saved visualization whose access is managed. Undefined for a visualization that is not saved yet; its access is then a draft applied on its first save.

**Signature:**

```typescript
target?: IObjectPermissionsObject;
```
