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 878759e commit 366f9c0Copy full SHA for 366f9c0
src/dstack/_internal/server/services/projects.py
@@ -75,8 +75,8 @@ async def list_user_accessible_projects(
75
) -> List[Project]:
76
"""
77
Returns all projects accessible to the user:
78
- - Projects where user is a member (public or private)
79
- - Public projects where user is NOT a member
+ - For global admins: ALL projects in the system
+ - For regular users: Projects where user is a member + public projects where user is NOT a member
80
81
if user.global_role == GlobalRole.ADMIN:
82
projects = await list_project_models(session=session)
0 commit comments