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

Add a function to load custom spaces #525

Open
KallynGowdy opened this issue Jul 26, 2024 · 0 comments
Open

Add a function to load custom spaces #525

KallynGowdy opened this issue Jul 26, 2024 · 0 comments
Labels
area:runtime Is related to the CasualOS runtime. (Everything in aux-runtime, aux-common, aux-vm, etc.) enhancement New feature or request

Comments

@KallynGowdy
Copy link
Member

Currently, there is an event that can load custom spaces, but there is no associated function to do so. This function should make it easy to load a shared space by recordName, inst, and branch. Something like os.addSharedSpace(recordName, inst, branch) should make it easy to load an additional shared space. Additionally, the space should be named whatever branch is named.

Finally, permissions might be a little weird with this, but we'll have to just test it out. Key points include:

  1. Ensuring that public insts can't load private inst data without user authorization.
  2. Ensuring that local insts can't load private inst data without user authorization.
  3. Ensuring that private insts can't load private inst data without user authorization.

This means that during login, the inst that is loading the branch should have to be authorized.

@KallynGowdy KallynGowdy converted this from a draft issue Jul 26, 2024
@KallynGowdy KallynGowdy moved this from To triage to Backlog in CasualOS Jul 26, 2024
@KallynGowdy KallynGowdy added enhancement New feature or request area:runtime Is related to the CasualOS runtime. (Everything in aux-runtime, aux-common, aux-vm, etc.) labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:runtime Is related to the CasualOS runtime. (Everything in aux-runtime, aux-common, aux-vm, etc.) enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant