18 #ifndef QGSACCESSCONTROL_H 19 #define QGSACCESSCONTROL_H 24 #include "qgis_server.h" 54 mFilterFeaturesExpressions = copy.mFilterFeaturesExpressions;
55 mResolved = copy.mResolved;
61 delete mPluginsAccessControls;
68 void resolveFilterFeatures(
const QList<QgsMapLayer *> &layers );
81 QgsFeatureFilterProvider *clone()
const override SIP_FACTORY;
95 bool layerReadPermission(
const QgsMapLayer *layer )
const;
124 QStringList layerAttributes(
const QgsVectorLayer *layer,
const QStringList &attributes )
const;
139 bool fillCacheKey( QStringList &cacheKey )
const;
149 QString resolveFilterFeatures(
const QgsVectorLayer *layer )
const;
154 QMap<QString, QString> mFilterFeaturesExpressions;
Base class for all map layer types.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
#define SIP_IF_MODULE(condition)
Class defining access control interface for QGIS Server plugins.
~QgsAccessControl() override
This class wraps a request for features to a vector layer (or directly its vector data provider)...
Abstract interface for use by classes that filter the features of a layer.
QgsAccessControl(const QgsAccessControl ©)
Constructor.
QMultiMap< int, QgsAccessControlFilter * > QgsAccessControlFilterMap
The registry definition.
QgsAccessControl()
Constructor.
A helper class that centralizes restrictions given by all the access control filter plugins...
Represents a vector layer which manages a vector based data sets.