Skip to content

Replace route roles with custom permissions and Swagger lock metadata. - #14

Merged
ehs22n merged 2 commits into
devfrom
feature/route-permissions
Sep 3, 2026
Merged

Replace route roles with custom permissions and Swagger lock metadata.#14
ehs22n merged 2 commits into
devfrom
feature/route-permissions

Conversation

@ehs22n

@ehs22n ehs22n commented Sep 3, 2026

Copy link
Copy Markdown
Member

Routes accept permission callables that return bool; failures return 403 and protected operations show FusionPermissions security in OpenAPI across Python, Node, and C#.

What does this PR do?

Briefly describe the change and why it's needed.

Closes # (if applicable)

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Chore / tooling / CI
  • Refactor (no functional change)

Checklist

  • I've read CONTRIBUTING.md
  • Linter passes (pnpm lint / make lint)
  • Build passes (pnpm build / make build-app)
  • Tests added/updated, if applicable
  • Docs updated, if applicable
  • No secrets, .env files, or credentials included in this PR

Screenshots (if UI change)

Additional notes

Anything reviewers should know — tricky parts, follow-up work, etc.

ehs22n and others added 2 commits September 3, 2026 02:42
Routes accept permission callables that return bool; failures return 403 and protected operations show FusionPermissions security in OpenAPI across Python, Node, and C#.

Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve Swagger.cs by keeping CreateTestSpec and permission security schemes,
and move permission middleware tests under tests/python/.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ehs22n
ehs22n merged commit 3549505 into dev Sep 3, 2026
4 of 5 checks passed
@ehs22n
ehs22n deleted the feature/route-permissions branch September 3, 2026 17:44
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