g3w-admin icon indicating copy to clipboard operation
g3w-admin copied to clipboard

Hide columns by User/Groups doesn't works in editing mode

Open gisuser0 opened this issue 7 months ago • 2 comments

Checklist

  • [X] I've searched through the existing issues and this bug has never been reported before

Subject of the issue

With the "Hide columns by User/Groups" function it's possible to hide specific fields of a layer. It works with the info form and the attribute table but when the layer is in editing mode, the specific fields are visible and editable in the editing form.

Steps to reproduce

  1. Use the project of the online demo (https://g3wsuite.it/demo_3-8/)
  2. Create a new user "user1" and hide the field "address" of the layer "buildings" for this user

image

image

  1. Query the layer logged as superuser: the field "address" is visible

image

  1. Query the layer logged as "user1": the field "address" is not visible

image

5: Start the editing with the "user1": the field "address" is now visible and editable

image

Environment

  • g3w-admin: 3.8.dev-20240605113156
  • g3w-client: 3.10.0
  • editing: 3.8.0
  • qtimeseries: 3.8.0-alpha.0
  • browser: Chrome 126.0.0.0
  • operating system: Linux 64-bit

Link to your project

No response

Additional info

No response

gisuser0 avatar Jul 24 '24 13:07 gisuser0