Bug report #10644
user-specific WFS layers are not displayed
|Category:||Web Services clients/WFS|
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19045|
I have a Geoserver with 6 wfs layers. Four of them are open to everyone, while the other two are user specific (i.e., a username / password is required to view and edit them).
When trying to connect to the wfs server with qgis, it ignores the provided username / password and displays only the 4 publicly available layers, while, the other two are not shown at all. On the contrary, when removing all 4 publicly available layers, qgis uses the provided usn/pwd (or prompts the user to fill them) and displays the 2 "hidden" layers.
I believe that this is a bug which is caused due to the presence of at least one publicly available layer.
#1 Updated by Elias Frentzos over 6 years ago
The same problem also arises with write access to publicly available for reading wfs layers.
Specifically, when having a wfs layer which is read-enabled for all, while being write-enabled for certain users, qgis completely ignores the provided credentials when adding the wfs layer. Then, when trying to commit changes back to the server with wfs-t, an error occurs.