Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-16 04:12:53 +01:00
Try to fix #1218
Dieser Commit ist enthalten in:
Ursprung
63acc8619b
Commit
013d4c28b2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -129,7 +129,7 @@ impl OrgPolicy {
|
||||||
pub fn find_by_user(user_uuid: &str, conn: &DbConn) -> Vec<Self> {
|
pub fn find_by_user(user_uuid: &str, conn: &DbConn) -> Vec<Self> {
|
||||||
db_run! { conn: {
|
db_run! { conn: {
|
||||||
org_policies::table
|
org_policies::table
|
||||||
.left_join(
|
.inner_join(
|
||||||
users_organizations::table.on(
|
users_organizations::table.on(
|
||||||
users_organizations::org_uuid.eq(org_policies::org_uuid)
|
users_organizations::org_uuid.eq(org_policies::org_uuid)
|
||||||
.and(users_organizations::user_uuid.eq(user_uuid)))
|
.and(users_organizations::user_uuid.eq(user_uuid)))
|
||||||
|
|
Laden …
In neuem Issue referenzieren