Skip to content

Validate template ACL roles#396

Open
wyattfry wants to merge 1 commit into
coder:mainfrom
wyattfry:template-acl-role-validation
Open

Validate template ACL roles#396
wyattfry wants to merge 1 commit into
coder:mainfrom
wyattfry:template-acl-role-validation

Conversation

@wyattfry

Copy link
Copy Markdown

Summary

  • validate template ACL permission roles as admin or use
  • document valid ACL role values for resource and data source schemas
  • add validator coverage and invalid ACL role config coverage

Tests

  • go test -run '^(TestTemplateACLRoleValidator|Test[^A])' ./...\n- go test ./... fails in existing acceptance setup because embedded PostgreSQL cannot reach https://repo.maven.apache.org/maven2 during Coder startup

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.

1 participant