Fix video embed streaming, permission inheritance in create dialogs, and default to Guest browsing

This commit is contained in:
sarah committed 2026-09-28 23:28:32 +02:00
1 parent 24a6d83ea0
commit 16787aba14
7 files changed
+94 -20

No files matched your search

+5
View File
@@ -117,6 +117,11 @@ export function FetchLock(RootName, RelativePath) {
return FetchJson(`/lock?${Params}`);
}
export function FetchInheritedLock(RootName, RelativePath) {
const Params = new URLSearchParams({ Root: RootName, Path: RelativePath });
return FetchJson(`/lock/inherited?${Params}`);
}
export function SetLock(RootName, RelativePath, Users, Groups) {
const Params = new URLSearchParams({ Root: RootName, Path: RelativePath });
return FetchJson(`/lock?${Params}`, { method: "PUT", ...JsonBody({ Users, Groups }) });