Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mia-Cross opened this issue Apr 10, 2024 · 0 comments
Open

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

Mia-Cross opened this issue Apr 10, 2024 · 0 comments
Assignees
Labels
enhancement priority:medium Improvements that are not the main priority rdb Managed MySQL and PostgreSQL issues, bugs and feature requests

Comments

@Mia-Cross
Copy link
Contributor

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}
@Mia-Cross Mia-Cross added enhancement rdb Managed MySQL and PostgreSQL issues, bugs and feature requests priority:medium Improvements that are not the main priority labels Apr 10, 2024
@Mia-Cross Mia-Cross changed the title rdb: acl: handle multiple descriptions in when adding ACLs rdb: acl: handle multiple descriptions when adding ACLs Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement priority:medium Improvements that are not the main priority rdb Managed MySQL and PostgreSQL issues, bugs and feature requests
Projects
None yet
Development

No branches or pull requests

2 participants