Support of multi-level user hierarchy in multi-tenant plugin