20 #ifndef QGSACCESSCONTROLPLUGIN_H
21 #define QGSACCESSCONTROLPLUGIN_H
25 #include "qgis_server.h"
81 virtual QString layerFilterExpression(
const QgsVectorLayer *layer )
const;
88 virtual QString layerFilterSubsetString(
const QgsVectorLayer *layer )
const;
95 virtual LayerPermissions layerPermissions(
const QgsMapLayer *layer )
const;
103 virtual QStringList authorizedLayerAttributes(
const QgsVectorLayer *layer,
const QStringList &attributes )
const;
117 virtual QString cacheKey()
const;
Class defining access control interface for QGIS Server plugins.
virtual ~QgsAccessControlFilter()=default
const QgsServerInterface * serverInterface() const
Returns the QgsServerInterface instance.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Base class for all map layer types.
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
Represents a vector layer which manages a vector based data sets.
#define SIP_IF_MODULE(condition)
QMultiMap< int, QgsAccessControlFilter * > QgsAccessControlFilterMap
The registry definition.
Describe the layer permission.