We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi ,
I would like to get access to multiple project in 1 aclpolicy file .
Tried to do something like that but it's not worked for me .
# create or append this to a .aclpolicy file --- by: group: XXXXXX_XXXX context: application: rundeck for: project: - allow: read equals: name: [project1, project2] description: generated # create or append this to a .aclpolicy file --- by: group: XXXXXX_XXXX context: project: [project1, project2] for: job: - allow: - read - run - kill match: group: "(group1|group2)" description: generated # create or append this to a .aclpolicy file
Thanks for your help
The text was updated successfully, but these errors were encountered:
for the context: project: ... part, use a regular expression, e.g.
context: project: ...
context: project: '(project1|project2)' # all projects
for the application context section, use a match instead of equals and use a regular expression:
match
equals
for: project: - allow: read match: name: '(project1|project2)'
or, you can simply define multiple sections for equals:
for: project: - allow: read equals: name: project1 - allow: read equals: name: project2
Sorry, something went wrong.
thanks ,
how i can use regular expressions for " Not project " i mean
name: '(Project1|Project2)'
name: '(!project3)'
negative lookback is supported ?
Thanks , Amit
Found the solution :
name: '(?!(Project3)).+'
Thanks !!!
No branches or pull requests
Hi ,
I would like to get access to multiple project in 1 aclpolicy file .
Tried to do something like that but it's not worked for me .
Thanks for your help
The text was updated successfully, but these errors were encountered: