Removed the acl field from several Pg* classes as the acl is now stored in the PgServerObject base class they inherit from.

This commit is contained in:
eelke 2018-12-27 12:05:48 +01:00
parent aaa05f64ef
commit 93687df959
12 changed files with 30 additions and 30 deletions

View file

@ -15,7 +15,12 @@ PgNamespace PgNamespaceContainer::loadElem(const Pgsql::Row &row)
Oid oid = col.nextValue();
QString name = col.nextValue();
PgNamespace v(m_catalog, oid, name);
col >> v.owner >> v.acl;
Oid owner;
AclList acl_list;
col >> owner >> acl_list;
v.setOwnerOid(owner);
v.setAcls(std::move(acl_list));
return v;
}