Skip to content

Conversation

@hubcio
Copy link
Contributor

@hubcio hubcio commented Jan 14, 2026

Permission checks were scattered across system layer,
making enforcement inconsistent. Moving them to
handlers where auth context lives and using metadata
crate as single source of truth improves clarity.

Fixed broken inheritance - manage_stream now properly
implies read_stream, and similar fixes throughout the hierarchy.

Added resolve_* helpers to consolidate existence checks
with ID resolution, eliminating verbose repeated patterns
in handlers.

Lastly, comprehensive permissions integration test was added.

@hubcio hubcio force-pushed the permissions-test branch 7 times, most recently from bb45739 to a85c8c7 Compare January 15, 2026 21:05
… inheritance bugs

Permission checks were scattered across system layer, making enforcement
inconsistent. Moving them to handlers where auth context lives and using
metadata crate as single source of truth improves clarity.

Fixed broken inheritance - manage_stream now properly implies read_stream,
and similar fixes throughout the hierarchy.

Added resolve_* helpers to consolidate existence checks with ID resolution,
eliminating verbose repeated patterns in handlers.

Lastly, comprehensive permissions integration test was added.
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