fix: runner alloc idx logic, api auth for actor get#4443
fix: runner alloc idx logic, api auth for actor get#4443MasterPtato wants to merge 1 commit intomainfrom
Conversation
|
🚅 Deployed to the rivet-pr-4443 environment in rivet-frontend
|
PR Review: fix runner alloc idx logic, api auth for actor getSummary This PR bundles two independent bug fixes:
Issues and Concerns1. Security: auth bypass condition is too broad (significant)The new condition: if query.actor_ids.is_none() && query.actor_id.is_empty() && query.key.is_none() {
ctx.auth().await?;
} else {
ctx.skip_auth();
}The Consider restricting the bypass to only when direct actor IDs are provided ( 2.
|
5b2bead to
cfc4fad
Compare
cfc4fad to
65280b5
Compare
65280b5 to
84dbf32
Compare
84dbf32 to
90c2e97
Compare
b2f4422 to
7baeb4c
Compare
791a38d to
d5c2eee
Compare
d5c2eee to
5572d7e
Compare
5572d7e to
98fbf07
Compare
98fbf07 to
fecf384
Compare
fecf384 to
0277ea1
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: