You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "mridulpathak (via GitHub)" <gi...@apache.org> on 2026/09/15 07:27:34 UTC
[PR] Fixed: updateContentPermission grants UPDATE via ancestor ownership without an ownership change request (OFBIZ-13592) [ofbiz-framework]
mridulpathak opened a new pull request, #1996:
URL: https://github.com/apache/ofbiz-framework/pull/1996
The minilang-to-Groovy conversion of updateContentPermission moved the ancestor parent-walk block that checks ownership of a content's owner chain out of the conditional block that verifies an explicit ownership reassignment is being requested, making it run unconditionally whenever checkOwnership failed on the content's current owner. This let a user who owns any ancestor in the ownership chain update content they don't own and aren't reassigning ownership of, bypassing the intended permission check. The parent-walk is restored to its original nesting inside the ownerContentId reassignment check, matching the pre-conversion minilang behavior.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fixed: updateContentPermission grants UPDATE via ancestor ownership without an ownership change request (OFBIZ-13592) [ofbiz-framework]
Posted by "mridulpathak (via GitHub)" <gi...@apache.org>.
mridulpathak merged PR #1996:
URL: https://github.com/apache/ofbiz-framework/pull/1996
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org