We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98fdf9c commit 1de06a5Copy full SHA for 1de06a5
services/api-server/src/simcore_service_api_server/api/routes/functions_routes.py
@@ -25,6 +25,7 @@
25
from models_library.functions_errors import (
26
FunctionExecuteAccessDeniedError,
27
FunctionInputsValidationError,
28
+ FunctionReadAccessDeniedError,
29
UnsupportedFunctionClassError,
30
)
31
from models_library.products import ProductName
@@ -379,7 +380,7 @@ async def run_function( # noqa: PLR0913
379
380
381
382
if not user_permissions.read:
- raise FunctionExecuteAccessDeniedError(
383
+ raise FunctionReadAccessDeniedError(
384
user_id=user_id,
385
function_id=function_id,
386
0 commit comments