In my case I can't add a geometry, I have an error message. I'm looking why there is no warning.

@pcav : Do you have this checked ?

@rldhont @laurentj this modification disable the popup message saying user has to draw the geom on the map. I don't fully understand what was its purpose.
Thanks @nboisteault , clicking on it displays the correct behaviour. I find however confusing that the Create permission was not enough. I do not want the user to edit geometries, just to create them.
So it's probably more of a semantic issue with the plugin @Gustry . Feel free to close this ticket.
@pcav I think it is a bug. I am asking my team how to fix this.
OK, thanks.
I think we should not change this type of behaviour without a deep understanding of the consequences. Editing is a key lizmap feature, as it concerns data.
As a map editor, for 99% of the use cases, I do not want the users to create a new item without geometry.
Though since the recent change in Lizmap which allows the user to create an object without geometry, the default behaviour is not the correct one IMHO.
The only way to force the user to create a geometry since this modification is to set the geom field as NOT NULL in the table, which is never done in most tables, and is undocumented.
We should add a new option in the plugin "Allow the user to create a feature with no geometry", False by default.
@mdouchin fully agreed. Thanks.
I've added a test to illustrate issue which fails currently => https://github.com/3liz/lizmap-web-client/commit/bd770f2cc6709a2db2e07e2db34b9b19767db3d0
I agree with @mdouchin.
For example in various qgis project we use edition without geometry.
Perhaps it is not clear the option "Edit the geometry" of the plugin and it is better to change the name of "Allow the user to create a feature with no geometry" but I think it is a good option.
Perhaps this issue can be migrated to plugin?
After discussion with @mdouchin we think that few users might want to save a feature without geometry.
So we need to add a confirm dialog when someone save a feature without geometry as most of the time he does that accidentally.
This has to be made in next 3.3.x and 3.4 versions.
@rldhont @Gustry thoughts ?
just a general consideration.. in our projects it is often necessary to add or edit data in tables without geometry
@tethysgeco but your table has no geometry column isn't it?
@nboisteault no, it hasn't. We often use tables withou geometry column as child tables to store data. Geometry column is in father table.
@nboisteault normally we use this option in tables with geometry column when we have a PostgreSQL trigger which create the geometry from inserted attribute data (e.g start poin and end poin on a line).
I'm agree with we need to add a confirm dialog, but perhaps IMHO it is more useful on the plugin..
So the "admin" choose the behaviour on the lizmap plugin and for editing user there is not a need to confirm this option.
I propose that we add in the plugin a checkbox, unchecked by default, in the list above with label 'Allow creation without geometry' or 'Allow creation without drawn geometry'. This checkbox + label will be only visible for spatial layers.
Then in JS I will change this line to :
if( editionLayer['spatial'] && editionLayer['config'].capabilities.createFeatureWithoutGeometry == 'False'){
cc @mdouchin @rldhont @laurentj @Gustry

Yes, we can add this checkbox, to make the choice explicit. It affects 3.3, correct?
@Gustry Yes it does. Thanks.
Check https://github.com/3liz/lizmap-plugin/pull/302 for the QGIS Desktop side
Most helpful comment
I propose that we add in the plugin a checkbox, unchecked by default, in the list above with label 'Allow creation without geometry' or 'Allow creation without drawn geometry'. This checkbox + label will be only visible for spatial layers.
Then in JS I will change this line to :
cc @mdouchin @rldhont @laurentj @Gustry