We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS doesn't consider PostgreSQL privilege on table columns when determining editability
Run this in the PostgreSQL database:
create table t(id serial primary key, restricted_column text, g geometry); grant insert(g) on t to qgis_test_unprivileged_user;
Create a layer against t, fetch fields, check .isReadOnly() on fields (or .isEditable() on feature fields).
All fields will result editable (not readonly) but none really is
Current master branch 77dfdfa
I've found this while working on GH-28835
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the bug or the crash?
QGIS doesn't consider PostgreSQL privilege on table columns when determining editability
Steps to reproduce the issue
Run this in the PostgreSQL database:
Create a layer against t, fetch fields, check .isReadOnly() on fields (or .isEditable() on feature fields).
All fields will result editable (not readonly) but none really is
Versions
Current master branch 77dfdfa
Supported QGIS version
New profile
Additional context
I've found this while working on GH-28835
The text was updated successfully, but these errors were encountered: