test(world-api): replace legacy creator-only assertion with validated inventory provenance

This commit is contained in:
OpenGenesis (MPL 2.0) committed 2026-10-18 02:49:07 +02:00
1 parent 09c91b2b6c
commit 8a0fa3243e
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ groups = (root / "NexVerse/Server/Api/NexGroupsApi.cs").read_text()
api = (root / "NexVerse/Server/Api/NexVerseWorldApiHandlers.cs").read_text()
for x in ("GetImage(UserAccount", "profile.PublishProfile",
"NexScopes.ProfileRead", "creator != account.PrincipalID",
"NexScopes.ProfileRead", "creatorMatches",
"OpenJPEG.DecodeToImage", '"image/png"', "profile_image_url",
"MaxProfileAssetBytes", "private, no-store"):
assert x in profile, "profile image security or transcode missing: " + x