Skip to content

RBAC - 3#541

Merged
lbedner merged 1 commit intomainfrom
rbac-3
Mar 16, 2026
Merged

RBAC - 3#541
lbedner merged 1 commit intomainfrom
rbac-3

Conversation

@lbedner
Copy link
Owner

@lbedner lbedner commented Mar 16, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 16, 2026 03:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds RBAC-related auth configuration coverage and updates the auth migration spec to support roles, ensuring generated projects can include role-based access control scaffolding.

Changes:

  • Add a dedicated test suite for parsing auth[level] bracket syntax (basic / rbac).
  • Extend TemplateGenerator tests to validate auth_level and include_auth_rbac in template context.
  • Add a role column to the auth service migration spec and update migration generator tests accordingly.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

File Description
tests/core/test_template_generator.py Adds auth-level context tests for TemplateGenerator.
tests/core/test_migration_generator.py Updates expectations to include the new role column in auth migrations/spec.
tests/core/test_auth_service_parser.py New test coverage for auth[level] parsing and helper detection.
aegis/core/migration_generator.py Extends AUTH_MIGRATION user table spec with a non-null role column defaulting to 'user'.

@lbedner lbedner merged commit 1bb0f09 into main Mar 16, 2026
7 checks passed
@lbedner lbedner deleted the rbac-3 branch March 16, 2026 12:15
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