Jahia Template Forum > Cannot check permission...

0 (0 Good)
0 (0 Bad)

Cannot check permission template-about

by  rvt »  2015/09/13 13:24

Hello!

 

I have a question about Studio in 7.0.0.0 community.

When I create a new page template I am getting the below exception, I also get that exception when I copy a excisting Page Template into a new one.

So far I have not beable to find a work around and this prevent creating new templates.

This happens with the template, bootstrap-acme-space-templates but I have seen this with other templates aswell.

 

 

 

2015-09-13 15:20:44,530: ERROR [JCRNodeWrapper] - Cannot check permission template-foo

javax.jcr.security.AccessControlException: Unknown privilege {}template-about

    at org.apache.jackrabbit.core.security.JahiaPrivilegeRegistry.getPrivilege(JahiaPrivilegeRegistry.java:221)

    at org.apache.jackrabbit.core.security.JahiaAccessManager$2.getPrivilege(JahiaAccessManager.java:389)

    at org.apache.jackrabbit.core.security.AbstractAccessControlManager.privilegeFromName(AbstractAccessControlManager.java:66)

    at org.jahia.services.content.JCRNodeWrapperImpl.hasPermission(JCRNodeWrapperImpl.java:378)

    at org.jahia.services.content.nodetypes.initializers.TemplatesNodeChoiceListInitializer.addTemplates(TemplatesNodeChoiceListInitializer.java:179)

    at org.jahia.services.content.nodetypes.initializers.TemplatesNodeChoiceListInitializer.getChoiceListValues(TemplatesNodeChoiceListInitializer.java:146)

    at org.jahia.ajax.gwt.helper.ContentDefinitionHelper.getChoiceListInitializerValues(ContentDefinitionHelper.java:758)

    at org.jahia.ajax.gwt.helper.ContentDefinitionHelper.getAllChoiceListInitializersValues(ContentDefinitionHelper.java:717)

    at org.jahia.ajax.gwt.content.server.JahiaContentManagementServiceImpl.initializeEditEngine(JahiaContentManagementServiceImpl.java:1813)

    at sun.reflect.GeneratedMethodAccessor487.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  • Cannot check permission template-about
    2015/09/13 13:24

    rvt <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">Hello!</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">I have a question about Studio in 7.0.0.0 community.</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">When I create a new page template I am getting the below exception, I also get that exception when I copy a excisting Page Template into a new one.</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">So far I have not beable to find a work around and this prevent creating new templates.</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">This happens with the template,&nbsp;bootstrap-acme-space-templates but I have seen this with other templates aswell.</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">2015-09-13 15:20:44,530: ERROR [JCRNodeWrapper] - Cannot check permission template-foo</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">javax.jcr.security.AccessControlException: Unknown privilege {}template-about</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at org.apache.jackrabbit.core.security.JahiaPrivilegeRegistry.getPrivilege(JahiaPrivilegeRegistry.java:221)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at org.apache.jackrabbit.core.security.JahiaAccessManager$2.getPrivilege(JahiaAccessManager.java:389)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at org.apache.jackrabbit.core.security.AbstractAccessControlManager.privilegeFromName(AbstractAccessControlManager.java:66)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at org.jahia.services.content.JCRNodeWrapperImpl.hasPermission(JCRNodeWrapperImpl.java:378)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at org.jahia.services.content.nodetypes.initializers.TemplatesNodeChoiceListInitializer.addTemplates(TemplatesNodeChoiceListInitializer.java:179)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at org.jahia.services.content.nodetypes.initializers.TemplatesNodeChoiceListInitializer.getChoiceListValues(TemplatesNodeChoiceListInitializer.java:146)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at org.jahia.ajax.gwt.helper.ContentDefinitionHelper.getChoiceListInitializerValues(ContentDefinitionHelper.java:758)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at org.jahia.ajax.gwt.helper.ContentDefinitionHelper.getAllChoiceListInitializersValues(ContentDefinitionHelper.java:717)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at org.jahia.ajax.gwt.content.server.JahiaContentManagementServiceImpl.initializeEditEngine(JahiaContentManagementServiceImpl.java:1813)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at sun.reflect.GeneratedMethodAccessor487.invoke(Unknown Source)</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;">&nbsp;&nbsp; &nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</p>

  • Number of messages  185
    Registration date Sep 13, 2015
    0 (0 Good)
    0 (0 Bad)

    Re: Cannot check permission template-about

    by  rvt1234 »  2015/11/03 12:59

    Also checked with 7.1

    Step's to repeat with 7.1:

    1) Duplicate bootstrap template

    2) Copy/Paste a page template and rename it

    3) Compile module using studio

    4) THen I get the above errors once I try to use the template

    rvt1234
    Number of messages  1
    Not registered
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page