Skip to content
New issue

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

Support for Column Permissions in PostgreSQL 8.4 #12528

Closed
qgib opened this issue Feb 25, 2010 · 1 comment
Closed

Support for Column Permissions in PostgreSQL 8.4 #12528

qgib opened this issue Feb 25, 2010 · 1 comment
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Feb 25, 2010

Author Name: pinux - (pinux -)
Original Redmine Issue: 2468

Redmine category:data_provider
Assignee: nobody -


Column Permission in [[PostgreSQL]] 8.4 is not supported in Qgis. When I grant insert or update on a specific column, like this:
GRANT INSERT(mycolumn) ON mytable TO user;
GRANT UPDATE(mycolumn) ON mytable TO user;

It is not possible to edit the column mycolumn in qgis.

@qgib
Copy link
Contributor Author

qgib commented May 2, 2010

Author Name: Jürgen Fischer (@jef-n)


fixed in b0a9d99 (SVN r13015).

the postgres provider now checks if the user has update privilege on the geometry column when checking if geometry changes should be enabled and update privileges on any/at least one attribute column to enable attribute changes. Enabling addition of new features still requires table insert privilege (ie. insert privilege on all columns).

Note: that way edits of readonly attribute columns are not forbidden, but will cause the commit to fail. To prevent that either don't change those attributes in the first place or set the read-only attributes 'Immutable' or 'Hidden' in the attribute tab of vector layer properties, so that the are not changeable in the UI - although plugins could still change readonly attributes.


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

@qgib qgib added Feature Request Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib added this to the Version 1.5.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant