18 #ifndef QGSACCESSCONTROL_H 19 #define QGSACCESSCONTROL_H 25 #include "qgis_server.h" 30 class QgsAccessControlPlugin;
57 mFilterFeaturesExpressions = copy.mFilterFeaturesExpressions;
58 mResolved = copy.mResolved;
64 delete mPluginsAccessControls;
71 void resolveFilterFeatures(
const QList<QgsMapLayer *> &layers );
84 QgsFeatureFilterProvider *clone()
const override SIP_FACTORY;
98 bool layerReadPermission(
const QgsMapLayer *layer )
const;
127 QStringList layerAttributes(
const QgsVectorLayer *layer,
const QStringList &attributes )
const;
142 bool fillCacheKey( QStringList &cacheKey )
const;
152 QString resolveFilterFeatures(
const QgsVectorLayer *layer )
const;
157 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.