You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/web/server/src/simcore_service_webserver/folders/_exceptions_handlers.py
+9-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,11 @@
8
8
exception_handling_decorator,
9
9
to_exceptions_handlers_map,
10
10
)
11
-
from ..projects.exceptionsimportProjectRunningConflictError, ProjectStoppingError
11
+
from ..projects.exceptionsimport (
12
+
ProjectInvalidRightsError,
13
+
ProjectRunningConflictError,
14
+
ProjectStoppingError,
15
+
)
12
16
from ..workspaces.errorsimport (
13
17
WorkspaceAccessForbiddenError,
14
18
WorkspaceFolderInconsistencyError,
@@ -53,6 +57,10 @@
53
57
status.HTTP_409_CONFLICT,
54
58
"Invalid folder value set: {reason}",
55
59
),
60
+
ProjectInvalidRightsError: HttpErrorInfo(
61
+
status.HTTP_403_FORBIDDEN,
62
+
"Access Denied: You do not have permission to move the project with UUID: {project_uuid}. Tip: Copy and paste the UUID into the search bar to locate the project.",
0 commit comments