28 mServerInterface( serverInterface )
62 QgsMessageLog::logMessage( QStringLiteral(
"QgsAccessControlFilter plugin default authorizedLayerAttributes called" ), QStringLiteral(
"AccessControlFilter" ),
Qgis::Info );
Base class for all map layer types.
QgsAccessControlFilter(const QgsServerInterface *serverInterface)
Constructor QgsServerInterface passed to plugins constructors and must be passed to QgsAccessControlF...
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
virtual bool allowToEdit(const QgsVectorLayer *layer, const QgsFeature &feature) const
Are we authorized to modify the following geometry.
virtual QStringList authorizedLayerAttributes(const QgsVectorLayer *layer, const QStringList &attributes) const
Returns the authorized layer attributes.
static void logMessage(const QString &message, const QString &tag=QString(), Qgis::MessageLevel level=Qgis::Warning, bool notifyUser=true)
Adds a message to the log instance (and creates it if necessary).
virtual QString layerFilterExpression(const QgsVectorLayer *layer) const
Returns an additional expression filter.
virtual LayerPermissions layerPermissions(const QgsMapLayer *layer) const
Returns the layer permissions.
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...
virtual QString cacheKey() const
Cache key to used to create the capabilities cache.
Describe the layer permission.
Represents a vector layer which manages a vector based data sets.
virtual QString layerFilterSubsetString(const QgsVectorLayer *layer) const
Returns an additional subset string (typically SQL) filter.