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

just an idea for cbas submissions #1455

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ resourceTypes = {
wds-instance = ["owner"]
kubernetes-app = ["manager"]
kubernetes-app-shared = ["owner", "user"]
cbas-submission = ["reader"]
}
}
application = {
Expand All @@ -188,6 +189,7 @@ resourceTypes = {
google-project = ["pet-creator"]
wds-instance = ["writer"]
kubernetes-app-shared = ["user"]
cbas-submission = ["reader"]
}
}
reader = {
Expand All @@ -198,6 +200,7 @@ resourceTypes = {
google-project = ["pet-creator"]
wds-instance = ["reader"]
kubernetes-app-shared = ["user"]
cbas-submission = ["reader"]
}
}
discoverer = {
Expand Down Expand Up @@ -1674,6 +1677,34 @@ resourceTypes = {
allowLeaving = false
reuseIds = true
}

cbas-submission = {
actionPatterns = {
delete = {
description = "Delete this cbas-submission"
}
"read_policy::submitter" = {
description = "view the submitter policy and policy details for this cbas-submission"
}
read = {
description = "read from the private azure storage account"
}
create_with_parent = {
description = "Enables creating the request object with a parent"
}
}
ownerRoleName = "submitter"
roles = {
submitter = {
roleActions = ["delete", "read_policy::submitter", "read", "create_with_parent"]
}
reader = {
roleActions = ["read", "read_policy::submitter"]
}
}
allowLeaving = false
reuseIds = false
}
}


Expand Down
Loading