Skip to content

Add CREATE/ALTER SERVER ROLE and GRANT ON object_kind support#45

Merged
kyleconroy merged 1 commit intomainfrom
claude/fix-next-test-lkhFL
Dec 23, 2025
Merged

Add CREATE/ALTER SERVER ROLE and GRANT ON object_kind support#45
kyleconroy merged 1 commit intomainfrom
claude/fix-next-test-lkhFL

Conversation

@kyleconroy
Copy link
Copy Markdown
Collaborator

  • Add CreateServerRoleStatement and AlterServerRoleStatement AST types
  • Add SecurityTargetObject and SecurityTargetObjectName AST types
  • Update GrantStatement to support ON <object_kind>:: syntax
  • Parse CREATE SERVER ROLE with optional AUTHORIZATION clause
  • Parse ALTER SERVER ROLE with ADD/DROP MEMBER and WITH NAME actions
  • Parse many object kinds in GRANT (ServerRole, ApplicationRole, etc.)
  • Enable Baselines110_ServerRoleStatementTests and ServerRoleStatementTests

- Add CreateServerRoleStatement and AlterServerRoleStatement AST types
- Add SecurityTargetObject and SecurityTargetObjectName AST types
- Update GrantStatement to support ON <object_kind>::<name> syntax
- Parse CREATE SERVER ROLE with optional AUTHORIZATION clause
- Parse ALTER SERVER ROLE with ADD/DROP MEMBER and WITH NAME actions
- Parse many object kinds in GRANT (ServerRole, ApplicationRole, etc.)
- Enable Baselines110_ServerRoleStatementTests and ServerRoleStatementTests
@kyleconroy kyleconroy merged commit 32b396f into main Dec 23, 2025
1 check passed
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.

2 participants