Skip to content

Fix #11404 Problem with user permissions still involving the "Save As"#11408

Merged
tdipisa merged 3 commits intogeosolutions-it:masterfrom
allyoucanmap:issue_11404
Aug 27, 2025
Merged

Fix #11404 Problem with user permissions still involving the "Save As"#11408
tdipisa merged 3 commits intogeosolutions-it:masterfrom
allyoucanmap:issue_11404

Conversation

@allyoucanmap
Copy link
Copy Markdown
Contributor

Description

This PR adds logic to exclude the owner attribute while saving a resource.
Permission requests are failing if the owner attribute is different from the current editing user (see related issue #4634)

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

Issue

What is the current behavior?

#11404

What is the new behavior?

Removed the owner attribute from cloned resources

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • No

Other useful information

@allyoucanmap allyoucanmap added this to the 2025.01.02 milestone Aug 27, 2025
@allyoucanmap allyoucanmap self-assigned this Aug 27, 2025
@allyoucanmap allyoucanmap linked an issue Aug 27, 2025 that may be closed by this pull request
1 task
Copy link
Copy Markdown
Member

@tdipisa tdipisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@allyoucanmap thank good, thank you only one thing.

@allyoucanmap allyoucanmap requested a review from tdipisa August 27, 2025 13:27
Copy link
Copy Markdown
Member

@tdipisa tdipisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@allyoucanmap just noticed there is a conflict now.

@allyoucanmap allyoucanmap requested a review from tdipisa August 27, 2025 15:06
@tdipisa tdipisa merged commit fd38511 into geosolutions-it:master Aug 27, 2025
5 checks passed
@tdipisa
Copy link
Copy Markdown
Member

tdipisa commented Aug 27, 2025

@ElenaGallo please test this in DEV once deployed and let us know if we can proceed with the backport. This need a review of current test scenarios regarding resource permissions to ensure better bug reports next times during test runs involving use cases with non-admin users.

@tdipisa tdipisa added BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch and removed Incident labels Aug 27, 2025
@ElenaGallo
Copy link
Copy Markdown
Contributor

Test passed, @allyoucanmap please backport to 2025.01.xx. Thanks

allyoucanmap added a commit to allyoucanmap/MapStore2 that referenced this pull request Aug 28, 2025
…ng the "Save As" (geosolutions-it#11408)

* Fix geosolutions-it#11404 Problem with user permissions still involving the 'Save As'

* add comment
@allyoucanmap allyoucanmap removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Aug 28, 2025
tdipisa pushed a commit that referenced this pull request Aug 28, 2025
#11408) (#11410)

* Fix #11404 Problem with user permissions still involving the 'Save As'

* add comment
dsuren1 added a commit to dsuren1/MapStore2 that referenced this pull request Sep 9, 2025
…tinerary

* commit 'ea419127df12f794a56f234f5660632511df7484':
  Update README.md
  Proj4 upgrade and include support for "Grid Based Datum Adjustments" geosolutions-it#11423 (geosolutions-it#11424)
  Bom versions for maven-war-plugin in all POMs.xml (geosolutions-it#11413)
  Fix geosolutions-it#11419 fixed group translation files (geosolutions-it#11420)
  Update geoserver.md (geosolutions-it#11399)
  Bump org.apache.tomcat:tomcat-coyote from 9.0.105 to 9.0.108 in /binary (geosolutions-it#11384)
  Update on the Swedish translation file for MapStore (geosolutions-it#11412)
  Fix geosolutions-it#11258 :For clipping/masking 3D tiles and terrain removed ClippingPlaneCollection and introduced ClippingPolygonCollection (geosolutions-it#11352)
  Fix : geosolutions-it#11400 Added quickFilters also  when exporting data from TableWidget (geosolutions-it#11401)
  Fix geosolutions-it#11404 Problem with user permissions still involving the "Save As" (geosolutions-it#11408)
  Fix geosolutions-it#11406 Pending changes prompt shows up after save as (geosolutions-it#11407)
  Fix geosolutions-it#11374 Improve the Street Smart plugin view for 3D maps visualization (geosolutions-it#11375)
  Update i18n showEmptyMessageGFI (geosolutions-it#11392)
  geosolutions-it#11369: Enhance non hyperlink query field to have spacing (geosolutions-it#11370)
  Bump org.apache.tomcat:tomcat-util from 9.0.105 to 9.0.107 in /binary (geosolutions-it#11305)
  chore: Remove element-closest dependency (geosolutions-it#11251)
  Fix the widget support for the WFS layer with no geom (geosolutions-it#11379)
  Support of widget in map even when layer have no geometry and fix time dependencies for the widget (geosolutions-it#11377)
  Performace Lag when there is a layer with very large geomerty geosolutions-it#11358 (geosolutions-it#11359)
  skip click on layer should return intersected features test on Cesium tests (geosolutions-it#11365)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with user permissions still involving the "Save As"

3 participants