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

Field Calculator - No update existing field option available for PostGIS layer #15471

Closed
qgib opened this issue Aug 2, 2012 · 1 comment
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Aug 2, 2012

Author Name: Tom Joseph (Tom Joseph)
Original Redmine Issue: 6143
Affected QGIS version: master
Redmine category:vectors


There is no update existing field option available for a postgis vector layer when not logged on as the table owner.

After a quick scan of qgsfieldcalculator.cpp (line 46-51) I see that if the data provider does not support field addition it disallows existing field edits with mUpdateExistingGroupBox->setCheckable( false );. Should that not read mNewFieldGroupBox->setCheckable( false ); ?

Expected result - Limit some users to only update data and not the ability to create new fields. Editing data for these users works as expected using the attribute form on an individual features but not multiple row updates in the Field Calculator.


Related issue(s): #15459 (duplicates)
Redmine related issue(s): 6120


@qgib
Copy link
Contributor Author

qgib commented Aug 2, 2012

Author Name: Giovanni Manghi (@gioman)


duplicate of #15459


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

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Version 1.8.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
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant