diff --git a/src/spaceone/core/handler/authorization_handler.py b/src/spaceone/core/handler/authorization_handler.py index 0e0283a..0d6e89a 100644 --- a/src/spaceone/core/handler/authorization_handler.py +++ b/src/spaceone/core/handler/authorization_handler.py @@ -65,5 +65,8 @@ def _check_permissions(user_permissions: list, permission: str): @staticmethod def _check_user_projects(user_projects: list, request_project_id: str) -> None: + if request_project_id == "*": + return + if request_project_id not in user_projects: raise ERROR_PERMISSION_DENIED()