Skip to content

Conversation

@motatoes
Copy link
Contributor

No description provided.


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)
Copy link
Contributor

Choose a reason for hiding this comment

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

fix comment


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)
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

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

fix c omment

}

func getPlanPolicyForNamespace(p *DiggerHttpPolicyProvider, namespace string, projectName string) (string, *http.Response, error) {
// fetch RBAC policies for project from Digger API
Copy link
Contributor

Choose a reason for hiding this comment

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

delete comment

@motatoes motatoes merged commit d4d9b9b into develop Jul 20, 2023
ben-of-codecraft pushed a commit to ben-of-codecraft/digger that referenced this pull request May 21, 2024
* support access policy
breardon2011 pushed a commit that referenced this pull request Sep 17, 2025
* support access policy
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.

3 participants