Navigation Menu

Skip to content

Commit

Permalink
Server: fix wrong comment and log message
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Apr 16, 2020
1 parent 3b3c7d8 commit 83979c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions python/server/auto_generated/qgsaccesscontrolfilter.sip.in
Expand Up @@ -18,9 +18,9 @@ class QgsAccessControlFilter
Class defining access control interface for QGIS Server plugins.

Security can define any (or none) of the following method:
* layerFilterExpression() - To get an additional expression filter (WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature)
* layerFilterSQL() - To get an additional SQL filter (WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature) for layer that support SQL
* layerPermissions() - To give the general layer permissins (read / update / insert / delete)
* layerFilterExpression() - To set an additional QGIS expression filter (WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature)
* layerFilterSubsetString() - To set an additional SQL subset string filter (WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature) for layer that support SQL
* layerPermissions() - To set the general layer permissins (read / update / insert / delete)
* authorizedLayerAttributes() - To filter the attributes (WMS/GetFeatureInfo, WFS/GetFeature)
* allowToEdit() - (all WFS-T requests)
* cacheKey()
Expand Down
2 changes: 1 addition & 1 deletion src/server/qgsaccesscontrolfilter.cpp
Expand Up @@ -40,7 +40,7 @@ QString QgsAccessControlFilter::layerFilterExpression( const QgsVectorLayer *lay
//! Returns an additional layer subset string (typically SQL) filter
QString QgsAccessControlFilter::layerFilterSubsetString( const QgsVectorLayer *layer ) const
{
QgsMessageLog::logMessage( QStringLiteral( "QgsAccessControlFilter plugin default layerFilterSQL called" ), QStringLiteral( "AccessControlFilter" ), Qgis::Info );
QgsMessageLog::logMessage( QStringLiteral( "QgsAccessControlFilter plugin default layerFilterSubsetString called" ), QStringLiteral( "AccessControlFilter" ), Qgis::Info );
Q_UNUSED( layer )
return QString();
}
Expand Down
6 changes: 3 additions & 3 deletions src/server/qgsaccesscontrolfilter.h
Expand Up @@ -39,9 +39,9 @@ class QgsFeature;
* \brief Class defining access control interface for QGIS Server plugins.
*
* Security can define any (or none) of the following method:
* * layerFilterExpression() - To get an additional expression filter (WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature)
* * layerFilterSQL() - To get an additional SQL filter (WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature) for layer that support SQL
* * layerPermissions() - To give the general layer permissins (read / update / insert / delete)
* * layerFilterExpression() - To set an additional QGIS expression filter (WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature)
* * layerFilterSubsetString() - To set an additional SQL subset string filter (WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature) for layer that support SQL
* * layerPermissions() - To set the general layer permissins (read / update / insert / delete)
* * authorizedLayerAttributes() - To filter the attributes (WMS/GetFeatureInfo, WFS/GetFeature)
* * allowToEdit() - (all WFS-T requests)
* * cacheKey()
Expand Down

0 comments on commit 83979c3

Please sign in to comment.