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

Permit with variable arguments #108

Open
eugenesvk opened this issue Dec 24, 2022 · 0 comments
Open

Permit with variable arguments #108

eugenesvk opened this issue Dec 24, 2022 · 0 comments

Comments

@eugenesvk
Copy link

I'd like to permit upgrade of installed packages without a password, e.g.,
permit nopass :staff cmd "port" args "upgrade" # MacPorts: upgrade ports
However, this fails with port upgrade pkg1 since the package name is considered a new args that has to be whitelisted
Would it be possible to add a new * argument to the args part that would match any number of the following arguments?

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

No branches or pull requests

1 participant