Bug report #10644

user-specific WFS layers are not displayed

Added by Elias Frentzos over 10 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
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

Description

Hello all,

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.

Elias

Associated revisions

Revision 01b3d966
Added by Nyall Dawson over 10 years ago

[composer] Fix order of vertices returned by mapPolygon when map rotation is set, fix drawing overview frame when either map is rotated (fix #10644)

History

#1 Updated by Elias Frentzos over 10 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.

#2 Updated by Nyall Dawson over 10 years ago

  • Status changed from Open to Closed

#3 Updated by Nyall Dawson over 10 years ago

  • Status changed from Closed to Reopened

Oops - had the wrong issue number in that commit. This isn't fixed.

#4 Updated by Giovanni Manghi over 7 years ago

  • Resolution set to fixed/implemented
  • Status changed from Reopened to Closed

This scenario with Geoserver has been tested lately because of other issues, and it works as expected now. Please reopen if necessary.

Also available in: Atom PDF