@ -167,15 +167,15 @@ impl Collection {
users_collections ::user_uuid . eq ( user_uuid . clone ( ) )
users_collections ::user_uuid . eq ( user_uuid . clone ( ) )
)
)
) )
) )
. inner _join( users_organizations ::table . on (
. left _join( users_organizations ::table . on (
collections ::org_uuid . eq ( users_organizations ::org_uuid ) . and (
collections ::org_uuid . eq ( users_organizations ::org_uuid ) . and (
users_organizations ::user_uuid . eq ( user_uuid . clone ( ) )
users_organizations ::user_uuid . eq ( user_uuid . clone ( ) )
)
)
) )
) )
. inner _join( groups_users ::table . on (
. left _join( groups_users ::table . on (
groups_users ::users_organizations_uuid . eq ( users_organizations ::uuid )
groups_users ::users_organizations_uuid . eq ( users_organizations ::uuid )
) )
) )
. inner _join( groups ::table . on (
. left _join( groups ::table . on (
groups ::uuid . eq ( groups_users ::groups_uuid )
groups ::uuid . eq ( groups_users ::groups_uuid )
) )
) )
. left_join ( collections_groups ::table . on (
. left_join ( collections_groups ::table . on (
@ -252,15 +252,15 @@ impl Collection {
users_collections ::user_uuid . eq ( user_uuid . clone ( ) )
users_collections ::user_uuid . eq ( user_uuid . clone ( ) )
)
)
) )
) )
. inner _join( users_organizations ::table . on (
. left _join( users_organizations ::table . on (
collections ::org_uuid . eq ( users_organizations ::org_uuid ) . and (
collections ::org_uuid . eq ( users_organizations ::org_uuid ) . and (
users_organizations ::user_uuid . eq ( user_uuid )
users_organizations ::user_uuid . eq ( user_uuid )
)
)
) )
) )
. inner _join( groups_users ::table . on (
. left _join( groups_users ::table . on (
groups_users ::users_organizations_uuid . eq ( users_organizations ::uuid )
groups_users ::users_organizations_uuid . eq ( users_organizations ::uuid )
) )
) )
. inner _join( groups ::table . on (
. left _join( groups ::table . on (
groups ::uuid . eq ( groups_users ::groups_uuid )
groups ::uuid . eq ( groups_users ::groups_uuid )
) )
) )
. left_join ( collections_groups ::table . on (
. left_join ( collections_groups ::table . on (