release(v1.9.0): folder tree UX overhaul, fast ACL-aware counts, and .htaccess hardening
This commit is contained in:
@@ -30,6 +30,13 @@ class FolderController
|
||||
return $headers;
|
||||
}
|
||||
|
||||
/** Stats for a folder (currently: empty/non-empty via folders/files counts). */
|
||||
public static function stats(string $folder, string $user, array $perms): array
|
||||
{
|
||||
// Normalize inside model; this is a thin action
|
||||
return FolderModel::countVisible($folder, $user, $perms);
|
||||
}
|
||||
|
||||
private static function requireCsrf(): void
|
||||
{
|
||||
self::ensureSession();
|
||||
|
||||
Reference in New Issue
Block a user