You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/02/10 10:39:31 UTC

[causeway] 01/01: Merge pull request #1410 from apache/3358-allow_safe_act_w_view_perm

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git

commit 25c3274d51dee331a02598bf70156b86ba34eeee
Merge: 6312311e0b b014fd992b
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Feb 10 11:39:26 2023 +0100

    Merge pull request #1410 from apache/3358-allow_safe_act_w_view_perm
    
    CAUSEWAY-3358: Allow SAFE semantics actions to be invoked with only VIEWING permission

 .../core/config/CausewayConfiguration.java         |  12 +++
 .../specloader/SpecificationLoaderDefault.java     |  20 +++-
 core/security/src/main/java/module-info.java       |   1 +
 .../manager/ActionSemanticsResolver.java           |  37 +++++++
 .../manager/AuthorizationManager.java              |  21 ++++
 ...InteractionTest_notUsingAllowSafeSemantics.java | 105 ++++++++++++++++++++
 ...ionInteractionTest_usingAllowSafeSemantics.java | 107 +++++++++++++++++++++
 .../model/interaction/InteractionDemo.java         |  13 +++
 8 files changed, 315 insertions(+), 1 deletion(-)