Multi-tenancy: impersonate has no effect inside a tenant (MT-1, MT-15)
The ceiling always disables impersonate for principals in a tenant, so no tenant setting or grant lets them reach accounts beyond it.
This commit is contained in:
@@ -100,6 +100,8 @@ impl Server {
|
||||
},
|
||||
};
|
||||
ceiling(base, policy).apply(&mut permissions.enabled, &mut permissions.disabled);
|
||||
// inbuxa: MT-1, MT-15: impersonation would reach beyond the tenant
|
||||
permissions.disabled.set(Permission::Impersonate as usize);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user