test(world-api): replace legacy creator-only assertion with validated inventory provenance
This commit is contained in:
1 parent
09c91b2b6c
commit
8a0fa3243e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user