This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch graphql in repository https://gitbox.apache.org/repos/asf/causeway-app-petclinic.git
commit 578b0137202f0c2c181c7756ed9cbeaab2f4ad5b Author: danhaywood <[email protected]> AuthorDate: Mon Jan 29 17:13:11 2024 +0000 minor tidyup --- .../src/main/java/petclinic/modules/pets/dom/petowner/PetOwners.java | 2 +- webapp/src/main/resources/shiro.ini | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/module-pets/src/main/java/petclinic/modules/pets/dom/petowner/PetOwners.java b/module-pets/src/main/java/petclinic/modules/pets/dom/petowner/PetOwners.java index 5392206..fc56ca2 100644 --- a/module-pets/src/main/java/petclinic/modules/pets/dom/petowner/PetOwners.java +++ b/module-pets/src/main/java/petclinic/modules/pets/dom/petowner/PetOwners.java @@ -44,7 +44,7 @@ public class PetOwners { } - @Action(semantics = SemanticsOf.NON_IDEMPOTENT) + @Action(semantics = SemanticsOf.SAFE) public List<PetOwner> findByLastNameLike( @LastName final String lastName) { return repositoryService.allMatches( diff --git a/webapp/src/main/resources/shiro.ini b/webapp/src/main/resources/shiro.ini index 03a729d..b81952f 100644 --- a/webapp/src/main/resources/shiro.ini +++ b/webapp/src/main/resources/shiro.ini @@ -22,7 +22,6 @@ bob = pass, simple_role, default_role, fixtures_role joe = pass, simple_role, default_role guest = guest, guest_role, default_role -graphql = pass, org.apache.causeway.applib.services.sudo.SudoService#accessAll # -----------------------------------------------------------------------------
