Skip to content

rdb: acl: handle multiple descriptions when adding ACLs #3754

Open
@Mia-Cross

Description

@Mia-Cross

Following up #3597

Now that we have the possibility to run a single command with several positional arguments, we can convert the single description to a list of descriptions and have a custom description for each rule in the same command.

Command : scw rdb acl add 1.1.1.1 2.2.2.2 3.3.3.3 descriptions.0=first descriptions.1=second descriptions.3=third
Should set :

  • rule 1 = {ip: 1.1.1.1, description: first}
  • rule 2 = {ip: 2.2.2.2, description: second}
  • rule 1 = {ip: 3.3.3.3, description: third}

Metadata

Metadata

Assignees

Labels

enhancementpriority:mediumImprovements that are not the main priorityrdbManaged MySQL and PostgreSQL issues, bugs and feature requests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions