-
Notifications
You must be signed in to change notification settings - Fork 570
support plan policy #461
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
support plan policy #461
Conversation
pkg/digger/digger.go
Outdated
|
|
||
| if !allowedToPerformCommand { | ||
| msg := fmt.Sprintf("User %s is not allowed to perform action: %s. Check your policies", requestedBy, command) | ||
| msg := fmt.Sprintf("User %s is not allowed to perform action: %s. CheckAccessPolicy your policies", requestedBy, command) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix comment
pkg/digger/digger.go
Outdated
|
|
||
| if !allowedToPerformCommand { | ||
| msg := fmt.Sprintf("User %s is not allowed to perform action: %s. Check your policies", requestedBy, command) | ||
| msg := fmt.Sprintf("User %s is not allowed to perform action: %s. CheckAccessPolicy your policies", requestedBy, command) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix comment
| time.Sleep(5 * time.Second) | ||
|
|
||
| // Check if it was manually merged | ||
| // CheckAccessPolicy if it was manually merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix c omment
pkg/policy/policy.go
Outdated
| } | ||
|
|
||
| func getPlanPolicyForNamespace(p *DiggerHttpPolicyProvider, namespace string, projectName string) (string, *http.Response, error) { | ||
| // fetch RBAC policies for project from Digger API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete comment
* support access policy
No description provided.