Don't filter available projects on is_private=True.
This commit is contained in:
@@ -402,8 +402,7 @@ class PILLAR_OT_projects(async_loop.AsyncModalOperatorMixin,
|
||||
projects_shared = await pillar_call(
|
||||
pillarsdk.Project.all,
|
||||
{'where': {'user': {'$ne': user_id},
|
||||
'permissions.groups.group': {'$in': db_user.groups},
|
||||
'is_private': True},
|
||||
'permissions.groups.group': {'$in': db_user.groups}},
|
||||
'sort': '-_created',
|
||||
'projection': {'_id': True,
|
||||
'name': True},
|
||||
|
Reference in New Issue
Block a user