andi-huber commented on code in PR #3264:
URL: https://github.com/apache/causeway/pull/3264#discussion_r2583981003
##########
core/metamodel/src/main/java/org/apache/causeway/core/metamodel/interactions/managed/ManagedProperty.java:
##########
@@ -132,9 +122,8 @@ public Optional<InteractionVeto> modifyProperty(final
@Nullable ManagedObject ne
private ManagedObject reassessPropertyValue() {
var property = getProperty();
var owner = getOwner();
-
- return property.isVisible(owner, InteractionInitiatedBy.FRAMEWORK,
getWhere()).isAllowed()
- && property.isVisible(owner, InteractionInitiatedBy.USER,
getWhere()).isAllowed()
+ return property.isVisible(owner,
iConstraint().withInitiatedBy(InteractionInitiatedBy.FRAMEWORK)).isAllowed()
//TODO strange API
Review Comment:
this is the only place where we ask framework and user visibility;
how is this justified?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]