20#ifndef QGSACCESSCONTROLPLUGIN_H
21#define QGSACCESSCONTROLPLUGIN_H
25#include "qgis_server.h"
79 virtual QString layerFilterExpression(
const QgsVectorLayer *layer )
const;
86 virtual QString layerFilterSubsetString(
const QgsVectorLayer *layer )
const;
93 virtual LayerPermissions layerPermissions(
const QgsMapLayer *layer )
const;
101 virtual QStringList authorizedLayerAttributes(
const QgsVectorLayer *layer,
const QStringList &attributes )
const;
115 virtual QString cacheKey()
const;
Class defining access control interface for QGIS Server plugins.
const QgsServerInterface * serverInterface() const
Returns the QgsServerInterface instance.
virtual ~QgsAccessControlFilter()=default
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.