You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/05/14 08:05:53 UTC
[isis-app-helloworld] 03/07: ISIS-2614 and ISIS-2609: removes
Application.getName ; moves mixin domain events down from API to model
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch ISIS-2619
in repository https://gitbox.apache.org/repos/asf/isis-app-helloworld.git
commit aeaca8a44bfdd4dbecaa05bb173b357a78e41145
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue May 4 07:20:09 2021 +0100
ISIS-2614 and ISIS-2609: removes Application.getName ; moves mixin domain events down from API to model
Instead of getName, we use getUsername.
---
.../UserToRole__joe_UserRw_but_NoDelete.java | 34 ----------------------
1 file changed, 34 deletions(-)
diff --git a/src/main/java/domainapp/security/scripts/UserToRole__joe_UserRw_but_NoDelete.java b/src/main/java/domainapp/security/scripts/UserToRole__joe_UserRw_but_NoDelete.java
deleted file mode 100644
index a90a6ba..0000000
--- a/src/main/java/domainapp/security/scripts/UserToRole__joe_UserRw_but_NoDelete.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package domainapp.security.scripts;
-
-import org.apache.isis.commons.collections.Can;
-import org.apache.isis.extensions.secman.api.user.AccountType;
-import org.apache.isis.extensions.secman.jdo.seed.scripts.AbstractUserAndRolesFixtureScript;
-
-import domainapp.security.isisroles.RoleAndPerms__ApplibConfiguration__Veto;
-import domainapp.security.isisroles.RoleAndPerms__Applib__Allow;
-import domainapp.security.isisroles.RoleAndPerms__ExtFixtures__Allow;
-import domainapp.security.isisroles.RoleAndPerms__ExtH2Console__Allow;
-import domainapp.security.isisroles.RoleAndPerms__MetaModel_Allow;
-import domainapp.security.isisroles.RoleAndPerms__PersistenceJdo_Allow;
-import domainapp.security.isisroles.SecmanRoleNames;
-
-public class UserToRole__joe_UserRw_but_NoDelete extends AbstractUserAndRolesFixtureScript {
-
- public UserToRole__joe_UserRw_but_NoDelete() {
- super("joe", "pass", "joe@italy.com",
- "/ITA",
- AccountType.LOCAL,
- Can.of(
- RoleAndPerms__UserRw.ROLE_NAME
- , RoleAndPerms__NoDelete.ROLE_NAME // <<< veto application behaviour
- , RoleAndPerms__Applib__Allow.ROLE_NAME
- , RoleAndPerms__ApplibConfiguration__Veto.ROLE_NAME // <<< veto framework behaviour
- , RoleAndPerms__ExtFixtures__Allow.ROLE_NAME
- , RoleAndPerms__ExtH2Console__Allow.ROLE_NAME
- , RoleAndPerms__MetaModel_Allow.ROLE_NAME
- , RoleAndPerms__PersistenceJdo_Allow.ROLE_NAME
- , SecmanRoleNames.USER
- ));
- }
-
-}