🐛 Virtual folder with user
This commit is contained in:
@@ -188,6 +188,7 @@ export const getAccessLevel = async (
|
|||||||
*/
|
*/
|
||||||
if (id === "user_" + context.user?.id) return "manage";
|
if (id === "user_" + context.user?.id) return "manage";
|
||||||
if (id === "trash_" + context.user?.id) return "manage";
|
if (id === "trash_" + context.user?.id) return "manage";
|
||||||
|
if (id.startsWith("user_")) return "none";
|
||||||
|
|
||||||
if (id === "root") {
|
if (id === "root") {
|
||||||
if (isAdmin) return "manage";
|
if (isAdmin) return "manage";
|
||||||
|
|||||||
Reference in New Issue
Block a user