> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# kb_workflow_access table

> Control of who can do what in a knowledge base workflow step

## kb\_workflow\_access Table (293)

Control of who can do what in a knowledge base workflow step

## Fields

| Name         | Description                                                                                                                                                  | Type                                 | Nullable |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------ | :------: |
| id           | The primary key (auto-incremented)                                                                                                                           | PK                                   |    No    |
| kb\_workflow | The workflow to access.                                                                                                                                      | FK [kb\_workflow](./kb-workflow.mdx) |    No    |
| user\_id     | The user with access.                                                                                                                                        | FK [ejuser](./ejuser.mdx)            |    No    |
| kb\_access   | The access given to a user for entries in a given workflow phase. 1 for viewing entries, 2 for moving entries between workflow phases, 3 for editing entries | kb\_access                           |    No    |

<img src="https://mintcdn.com/superofficeas/6OcOTPa_ISkjXJg4/media/loc/en/database/tables/kb_workflow_access.png?fit=max&auto=format&n=6OcOTPa_ISkjXJg4&q=85&s=5bdecce456222c6e5a35b471e29ccd82" alt="kb_workflow_access table relationship diagram" width="713" height="59" data-path="media/loc/en/database/tables/kb_workflow_access.png" />

## Indexes

| Fields       | Types | Description |
| ------------ | ----- | ----------- |
| kb\_workflow | FK    | Index       |
| user\_id     | FK    | Index       |

## Relationships

| Table                         | Description                                              |
| ----------------------------- | -------------------------------------------------------- |
| [ejuser](./ejuser)            | This table contains entries for the users of the system. |
| [kb\_workflow](./kb-workflow) | Knowledge base workflow steps                            |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [kb_workflow table](/en/database/tables/kb-workflow.md)
- [kb_entry table](/en/database/tables/kb-entry.md)
- [ejuser table](/en/database/tables/ejuser.md)
- [role_workflow table](/en/database/tables/role-workflow.md)
- [kb_category table](/en/database/tables/kb-category.md)
- [kb_attachment table](/en/database/tables/kb-attachment.md)
