Skip to content
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

Assets must populate from all projects you have perms for #10409

Merged
merged 33 commits into from
Jun 29, 2024

Conversation

DanielBelmes
Copy link
Contributor

@DanielBelmes DanielBelmes commented Jun 18, 2024

Summary

So we have a lot of permissions considerations. Currently in this state we have removed the need for static resource read. Then we are building queries with all projects you have perms for if you don't supply an individual project in the query.

  • asset panel populates only with file & asset resource types
  • moved thumbnails from /thumbnails to /public/thumbnails since they need to be public read access in s3/cloudfront or they'll be unreachable in deployments
  • any files in the /public/thumbnails folder or that end with '.thumbnail.jpg' (scene thumbnails) are tagged as 'thumbnail'
  • resources tagged with 'thumbnail' will not populate into resources.json
  • auto-generated thumbnails now have the 'thumbnail' type
  • in dev mode, all users with static_resource:write scope will automatically be given owner project permission for all projects

Subtasks Checklist

Breaking Changes

References

https://tsu.atlassian.net/browse/IR-2616
IR-2616

QA Steps

Copy link
Member

@HexaField HexaField left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this won't work for users without static-resource:read perms

@HexaField HexaField marked this pull request as draft June 20, 2024 22:55
@DanielBelmes DanielBelmes marked this pull request as ready for review June 25, 2024 22:32
@DanielBelmes DanielBelmes marked this pull request as draft June 26, 2024 00:56
@DanielBelmes DanielBelmes removed the request for review from achen5671 June 26, 2024 00:56
@DanielBelmes DanielBelmes marked this pull request as ready for review June 26, 2024 02:29
@HexaField HexaField marked this pull request as draft June 28, 2024 00:49
@HexaField HexaField marked this pull request as ready for review June 28, 2024 01:46
@HexaField
Copy link
Member

Will wait for @hanzlamateen to sign off on this

@DanielBelmes DanielBelmes added this pull request to the merge queue Jun 29, 2024
Merged via the queue into dev with commit 3a84f55 Jun 29, 2024
25 checks passed
@DanielBelmes DanielBelmes deleted the IR-2666-Studio-No-assets-showing-up-in-Assets-Panel branch June 29, 2024 00:52
MbfloydIR added a commit that referenced this pull request Jul 2, 2024
* dev: (21 commits)
  show grid lines by default in studio (#10500)
  Fix xrui pointer input & improved follow camera  (#10471)
  feat: zendesk widget in viewer app & custom button (#10494)
  fix the download project button (#10499)
  studio: titles of some elements on components are not properly displayed (camelcased or lowercased) (#10491)
  fix slider ui (#10490)
  add point light name (#10495)
  upload from assets panel (#10487)
  IR-2838-Studio-Click-Selection-Regression (#10479)
  Add better error to file-browser patch (#10489)
  Fixed issue with HLS streams not playing (#10485)
  IR-2810: Redesign Compress Menu (#10469)
  studio: fix context menu (#10475)
  fix(IR-2799): fix feature flags state (#10453)
  fix WebXR (#10484)
  IR-2727: Zendesk authentication (#10452)
  Assets must populate from all projects you have perms for (#10409)
  image convert modal (#10466)
  clean out userdata after initializing ecs data from gltfs (#10470)
  Material IO Fixes (#10480)
  ...

# Conflicts:
#	packages/common/src/utils/getAllStringValueNodes.ts
#	packages/engine/src/avatar/systems/AvatarCameraInputSystem.ts
#	packages/spatial/src/camera/components/FollowCameraComponent.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants