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 73190e6 commit 73246c1Copy full SHA for 73246c1
1 file changed
src/dstack/_internal/server/services/users.py
@@ -44,9 +44,8 @@ async def list_users_for_user(
44
session: AsyncSession,
45
user: UserModel,
46
) -> List[User]:
47
- if user.global_role == GlobalRole.ADMIN:
48
- return await list_all_users(session=session)
49
- return [user_model_to_user(user)]
+ # Allow all authenticated users to see the user list for project collaboration
+ return await list_all_users(session=session)
50
51
52
async def list_all_users(
0 commit comments