Add a function to load custom spaces #525
Labels
area:runtime
Is related to the CasualOS runtime. (Everything in aux-runtime, aux-common, aux-vm, etc.)
enhancement
New feature or request
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
, andbranch
. Something likeos.addSharedSpace(recordName, inst, branch)
should make it easy to load an additional shared space. Additionally, the space should be named whateverbranch
is named.Finally, permissions might be a little weird with this, but we'll have to just test it out. Key points include:
This means that during login, the inst that is loading the branch should have to be authorized.
The text was updated successfully, but these errors were encountered: