8000 feat: compose stream authorization by MicBun · Pull Request #849 · trufnetwork/node · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: compose stream authorization #849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 19, 2025
Merged

Conversation

MicBun
Copy link
Member
@MicBun MicBun commented Mar 17, 2025

Need this PR to be done first: #848

Description

This pull request includes several changes to enhance stream composition permissions and improve the handling of nested stream permissions. The most important changes include adding new actions for checking composition permissions, updating tests to cover these new permissions, and modifying existing procedures to incorporate these checks.

Enhancements to composition permissions:

Updates to tests:

  • tests/streams/auth/auth_test.go: Re-enabled and updated TestAUTH04_ComposePermissions to test composition permissions, and added TestAUTH04_NestedComposePermissions to test nested composition permissions.
  • tests/streams/auth/auth_test.go: Updated testNestedReadPermissionControl to use nil for StartTime when setting taxonomy for composed streams. [1] [2]

Procedural modifications:

Index optimization:

Related Problem

resolves: #826

How Has This Been Tested?

@MicBun MicBun self-assigned this Mar 17, 2025
@MicBun MicBun linked an issue Mar 17, 2025 that may be closed by this pull request
1 task
@MicBun MicBun force-pushed the feat/composeAuth branch from 5e8500f to 59bbb5a Compare March 17, 2025 12:05
@MicBun MicBun requested a review from outerlook March 17, 2025 12:06
@MicBun MicBun changed the base branch from main to refactor/node-2.0 March 17, 2025 12:06
@MicBun MicBun force-pushed the feat/composeAuth branch from 59bbb5a to 3020e16 Compare March 19, 2025 10:21
@MicBun MicBun marked this pull request as ready for review March 19, 2025 11:12
@MicBun MicBun added the type: feat New feature or request label Mar 19, 2025
@MicBun MicBun requested review from outerlook and removed request for outerlook March 19, 2025 11:13
@MicBun MicBun requested review from outerlook March 19, 2025 15:08
Copy link
pr-time-tracker bot commented Mar 19, 2025

@outerlook
⚠️⚠️⚠️
You must submit the time spent on this PR.
⚠️⚠️⚠️

@MicBun MicBun merged commit 5fbc3f1 into refactor/node-2.0 Mar 19, 2025
4 of 5 checks passed
@MicBun MicBun deleted the feat/composeAuth branch March 19, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feat New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem: missing compose stream authorization
2 participants
0