<div dir="ltr"><div class="gmail_signature"><div dir="ltr"><span style="font-size:13px">Hi!</span><br style="font-size:13px"><br style="font-size:13px">Our team has recently found that whenever we define a PostgreSQL table with column-specific insert permissions (see [1]), QGIS does not allow the option to save a new feature, although it seems that is possible to update. <br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">We checked that there are previous issues filed regarding this topic (</span><a href="https://hub.qgis.org/issues/2468" target="_blank" style="font-size:13px">https://hub.qgis.org/issues/2468</a><span style="font-size:13px"> and </span><a href="https://hub.qgis.org/issues/2689" target="_blank" style="font-size:13px">https://hub.qgis.org/issues/2689</a><span style="font-size:13px">).</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">We would like to ask if there are any plans to support this PostgreSQL behaviour in the future.</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">Thank you for your time, </span></div><div dir="ltr"><span style="font-size:13px"><br></span></div><div dir="ltr"><span style="font-size:13px">Kind regards!!</span></div><div dir="ltr"><br></div><div dir="ltr">Ps. I´m not sure if this is the right channel to communicate issues. If there is another one better, please, tell me.<br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">------------------------------</span><span style="font-size:13px">------------------------------</span><span style="font-size:13px">-----</span><br style="font-size:13px"><span style="font-size:13px">[1] -- Permissions definition</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">CREATE schema network;</span><br style="font-size:13px"><span style="font-size:13px">CREATE TABLE network.test</span><br style="font-size:13px"><span style="font-size:13px">(</span><br style="font-size:13px"><span style="font-size:13px">id bigint PRIMARY KEY,</span><br style="font-size:13px"><span style="font-size:13px">geom geometry(LineString,32628),</span><br style="font-size:13px"><span style="font-size:13px">protected_column boolean NOT NULL DEFAULT false</span><br style="font-size:13px"><span style="font-size:13px">);</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">-- This GRANT INSERT is not supported</span><br style="font-size:13px"><span style="font-size:13px">REVOKE ALL ON network.test FROM <user>;</span><br style="font-size:13px"><span style="font-size:13px">GRANT SELECT ON network.test TO <user>;</span><br style="font-size:13px"><span style="font-size:13px">GRANT INSERT (id, geom) ON network.test TO <user>; </span><br style="font-size:13px"><span style="font-size:13px">-- There are no problems with this GRANT UPDATE</span><br style="font-size:13px"><span style="font-size:13px">GRANT UPDATE (id, geom) ON network.test TO <user>;</span><br style="font-size:13px"><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">-- This GRANT INSERT is supported</span><br style="font-size:13px"><span style="font-size:13px">REVOKE ALL ON network.test FROM <user>;</span><br style="font-size:13px"><span style="font-size:13px">GRANT SELECT ON network.test TO <user>;</span><br style="font-size:13px"><span style="font-size:13px">GRANT INSERT ON network.test TO <user>; </span><br style="font-size:13px"><span style="font-size:13px">-- There are no problems with this GRANT UPDATE</span><br style="font-size:13px"><span style="font-size:13px">GRANT UPDATE (id, geom) ON network.test TO <user>;</span><br></div></div>
</div>