fix: make workspace navigation atomic and return home on account switch
This commit is contained in:
1 parent
c02bf755f2
commit
55f2474660
21 files changed
+709
-61
No files matched your search
@@ -122,6 +122,8 @@ func TestInternalSessionBrowser(t *testing.T) {
|
||||
os.Mkdir(filepath.Join(root, who), 0750)
|
||||
os.WriteFile(filepath.Join(root, who, who+"-private.txt"), []byte(who+" PRIVATE"), 0600)
|
||||
}
|
||||
os.Mkdir(filepath.Join(root, "Alice", "Alice-only"), 0750)
|
||||
os.WriteFile(filepath.Join(root, "Alice", "Alice-only", "nested-Alice.txt"), []byte("ALICE ONLY"), 0600)
|
||||
st := scopedUserStorage(t, root, users.Permissions{Download: true, Create: true, Rename: true, Modify: true, Delete: true, Share: true}, []byte("key"))
|
||||
st.Users = st.Users.(*customFSUser).Store
|
||||
options, _ := st.Settings.Get()
|
||||
|
||||
Reference in new issue
Block a user