mirror of
https://git.srhtnin.garden/sarah/SaraView.git
synced 2026-10-15 02:43:17 +02:00
Fix video embed streaming, permission inheritance in create dialogs, and default to Guest browsing
This commit is contained in:
1 parent
24a6d83ea0
commit
16787aba14
7 files changed
+94
-20
No files matched your search
@@ -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 }) });
|
||||
|
||||
Reference in new issue
Block a user