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

feat(AclFamily): add acl dryrun command #1894

Merged
merged 1 commit into from
Sep 19, 2023
Merged

Conversation

kostasrim
Copy link
Contributor

@kostasrim kostasrim commented Sep 19, 2023

  • add acl dryrun command
  • add unit tests

I decided to omit the optional ARGS because it does not make sense in the context of ACL, simply put, ACL DRYRUN asserts that a given command is allowed to be executed by the user. Therefore, if the command itself is illformed, is something beyond the scope of ACL DRYRUN (plus it would be really hard for us to check given our implementation).

resolves: #1895

}

ToUpper(&args[1]);
auto command = facade::ArgS(args, 1);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dranikpg just for you ❤️

P.s. I got mixed feelings about this 🤣

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usually its in the dfly namespace, just grep ArgS and you'll see every command uses it

}

ToUpper(&args[1]);
auto command = facade::ArgS(args, 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usually its in the dfly namespace, just grep ArgS and you'll see every command uses it

@kostasrim kostasrim merged commit ea589db into main Sep 19, 2023
10 checks passed
@kostasrim kostasrim deleted the acl_part_15_dry_run branch September 19, 2023 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ACL DRYRUN command
2 participants