Generic GRANT/REVOKE generation from ACL's complete.

Moved the owned concept to PgServerObject as it is needed for the generic
acl functionality that is also in PgServerObject.
This commit is contained in:
eelke 2018-12-25 13:17:04 +01:00
parent cc0b28e8e0
commit c2c01cf431
23 changed files with 358 additions and 312 deletions

View file

@ -15,6 +15,9 @@ public:
const QString& objectName() const;
/// Default implementation uses objectName and add quotes when needed.
virtual QString quotedObjectName() const;
/// By default same as quotedObjectName however for objects that reside in namespaces
/// the namespace name is added to the name.
virtual QString fullyQualifiedQuotedObjectName() const;
virtual QString typeName() const = 0;
bool operator==(Oid _oid) const { return m_oid == _oid; }