Adding a New Permission
Enter the information for the new permission. Start by entering the username and host details, then select the client type for which you want to control access. Next, choose whether to allow or deny access and select the specific resource.
Once you have filled in all the details, click Add to add the permission. After it is complete, multiple ACL entries will be created based on the provided information.
| Field | Description |
|---|---|
| Username | The name of the user the access permission will be granted to |
| Host | Specify the host for which access will be allowed or denied (default: *) |
| Select preset | Configure resource permissions according to the preset - Producer: Sets resource permissions suitable for producer clients - Consumer: Sets resource permissions suitable for consumer clients - Custom: Sets user-defined resource permissions |
| Access permission type | Allow or deny access to the resource - ALLOW: Allows the user access to the specified resource - DENY: Denies the user access to the specified resource |
| Resource Configuration | Specify the resource to set access permissions - Topic: Sets permissions for a specific topic - Group: Sets permissions for a specific consumer group - TransactionalID: Sets permissions for a specific transactional ID |
MATCH Options in Resource Selection
When selecting resources, specify how to match the resource names using the following options.
- Prefixed: Checks if the resource name matches the specified prefix. For example, if the prefix is log-, all resources with names like log-topic1 and log-topic2 would be matched.
- Literal: Checks if the resource name exactly matches the specified name. For example, if topic1 is entered, only topic1 would be matched.
OPERATION options in Resource Selection
Operation refers to the actions that can be performed on each resource. Different actions are available for each resource type (Topic, Group, TransactionalID). For details on the actions available for each resource, please refer to the ACL Operations document.
Deleting a Permission
To delete a permission from the list, click on the [Trash Can Icon] on the right side of the specific row to remove, or select multiple permissions using the checkboxes and click Delete. Review the warning message and the details of the permissions, and click Delete button to complete the deletion.