QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
28 mServerInterface( serverInterface )
62 QgsMessageLog::logMessage( QStringLiteral(
"QgsAccessControlFilter plugin default authorizedLayerAttributes called" ), QStringLiteral(
"AccessControlFilter" ),
Qgis::Info );
QgsAccessControlFilter(const QgsServerInterface *serverInterface)
Constructor QgsServerInterface passed to plugins constructors and must be passed to QgsAccessControlF...
Describe the layer permission.
virtual LayerPermissions layerPermissions(const QgsMapLayer *layer) const
Returns the layer permissions.
virtual bool allowToEdit(const QgsVectorLayer *layer, const QgsFeature &feature) const
Are we authorized to modify the following geometry.
virtual QString cacheKey() const
Cache key to used to create the capabilities cache.
virtual QString layerFilterExpression(const QgsVectorLayer *layer) const
Returns an additional expression filter.
Represents a vector layer which manages a vector based data sets.
Base class for all map layer types.
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).
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
virtual QString layerFilterSubsetString(const QgsVectorLayer *layer) const
Returns an additional subset string (typically SQL) filter.
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
virtual QStringList authorizedLayerAttributes(const QgsVectorLayer *layer, const QStringList &attributes) const
Returns the authorized layer attributes.