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