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/08/30 09:58:11 UTC

[causeway] branch master updated: CAUSEWAY-3563: fixes priv. commit (perm. is NAMESPACE not TYPE)

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


The following commit(s) were added to refs/heads/master by this push:
     new 1367879eb3 CAUSEWAY-3563: fixes priv. commit (perm. is NAMESPACE not TYPE)
1367879eb3 is described below

commit 1367879eb301d6831a9c13e927061994e7620796
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Aug 30 11:58:03 2023 +0200

    CAUSEWAY-3563: fixes priv. commit (perm. is NAMESPACE not TYPE)
---
 .../role/seed/CausewayExtSecmanRegularUserRoleAndPermissions.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/security/secman/applib/src/main/java/org/apache/causeway/extensions/secman/applib/role/seed/CausewayExtSecmanRegularUserRoleAndPermissions.java b/extensions/security/secman/applib/src/main/java/org/apache/causeway/extensions/secman/applib/role/seed/CausewayExtSecmanRegularUserRoleAndPermissions.java
index 2c02cd0594..8f2ddf244c 100644
--- a/extensions/security/secman/applib/src/main/java/org/apache/causeway/extensions/secman/applib/role/seed/CausewayExtSecmanRegularUserRoleAndPermissions.java
+++ b/extensions/security/secman/applib/src/main/java/org/apache/causeway/extensions/secman/applib/role/seed/CausewayExtSecmanRegularUserRoleAndPermissions.java
@@ -102,7 +102,7 @@ public class CausewayExtSecmanRegularUserRoleAndPermissions extends AbstractRole
 
                 // optionally allow access to documentation menu and pages, based on module presence
                 env.getIocContainer().containsBean("org.apache.causeway.extensions.docgen.CausewayModuleExtDocgen")
-                    ? ApplicationFeatureId.newType(CausewayExtDocgenRoleAndPermissions.NAMESPACE)
+                    ? ApplicationFeatureId.newNamespace(CausewayExtDocgenRoleAndPermissions.NAMESPACE)
                     : null
         );