System error Could not check permissions for content when editing Gliffy diagrams in Confluence 8.0.x

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

All users that are NOT part of the "confluence-administrators" super-users group are not able to edit Gliffy diagrams and receive a system error.

(Auto-migrated image: description temporarily unavailable)

Environment

This issue is seen in Confluence version 8.0.x with Gliffy Diagrams for Confluence version 9.7.5.

Diagnosis

Using Confluence version 8.0.x with Gliffy Diagrams for Confluence version 9.7.5.

  1. Create a page with a Gliffy diagram on it.

  2. Log in with a user that is NOT part of the "confluence-administrators" group.

  3. Try to edit the diagram.

A system error page is shown with the following error message in the atlassian-confluence.log:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2023-01-05 09:51:31,013 WARN [http-nio-6802-exec-7] [struts2.dispatcher.mapper.DefaultActionMapper] cleanupActionName Gliffy+test did not match allowed action names [a-zA-Z0-9._!/\-]* - default action index will be used! -- url: /c802/display/GLIF/Gliffy+test | userName: test | referer: http://localhost:6802/c802/display/GLIF/gliffy-test+Home | traceId: cb7a64bb71df677c 2023-01-05 09:51:51,251 WARN [http-nio-6802-exec-9] [struts2.dispatcher.mapper.DefaultActionMapper] cleanupActionName Gliffy+test did not match allowed action names [a-zA-Z0-9._!/\-]* - default action index will be used! -- url: /c802/display/GLIF/Gliffy+test | userName: test | referer: http://localhost:6802/c802/display/GLIF/gliffy-test+Home | traceId: d0095639c7f38875 2023-01-05 09:51:55,730 ERROR [http-nio-6802-exec-10] [apache.struts2.dispatcher.DefaultDispatcherErrorHandler] sendErrorResponse Exception occurred during processing request: Could not check permissions for Content{id='ContentId{id=393243}', type=attachment, title='test-gliffy', status=current, space=CollapsedReference{idProperties={key=GLIF}, referentClass=class com.atlassian.confluence.api.model.content.Space}, history=CollapsedReference{idProperties={contentParent=CollapsedReference{idProperties={id=ContentId{id=393243}, status=current, version=CollapsedReference{idProperties={number=4}, referentClass=class com.atlassian.confluence.api.model.content.Version}}, referentClass=class com.atlassian.confluence.api.model.content.Content}}, referentClass=class com.atlassian.confluence.api.model.content.History}, version=ExpandedReference{idProperties={number=4}, object=Version{by=KnownUser[username=admin,userKey=4028e4ae857e88f701857e91345d0000], when=2023-01-05T09:44:39.504-03:00, number=4, message=GLIFFY DIAGRAM, minorEdit=true, hidden=false, syncrev=null, content=CollapsedReference{idProperties={id=ContentId{id=393243}, status=current, version=CollapsedReference{idProperties={number=4}, referentClass=class com.atlassian.confluence.api.model.content.Version}}, referentClass=class com.atlassian.confluence.api.model.content.Content}}}, ancestors=null (CollapsedList), container=CollapsedReference{idProperties={id=ContentId{id=393236}, status=current, version=CollapsedReference{idProperties={number=3}, referentClass=class com.atlassian.confluence.api.model.content.Version}}, referentClass=class com.atlassian.confluence.api.model.content.Content}} no suitable delegate found. -- url: /c802/plugins/gliffy/editor.action | userName: test | referer: http://localhost:6802/c802/display/GLIF/Gliffy+test | traceId: 817efd4f86aba7af caused by: java.lang.IllegalArgumentException: Could not check permissions for Content{id='ContentId{id=393243}', type=attachment, title='test-gliffy', status=current, space=CollapsedReference{idProperties={key=GLIF}, referentClass=class com.atlassian.confluence.api.model.content.Space}, history=CollapsedReference{idProperties={contentParent=CollapsedReference{idProperties={id=ContentId{id=393243}, status=current, version=CollapsedReference{idProperties={number=4}, referentClass=class com.atlassian.confluence.api.model.content.Version}}, referentClass=class com.atlassian.confluence.api.model.content.Content}}, referentClass=class com.atlassian.confluence.api.model.content.History}, version=ExpandedReference{idProperties={number=4}, object=Version{by=KnownUser[username=admin,userKey=4028e4ae857e88f701857e91345d0000], when=2023-01-05T09:44:39.504-03:00, number=4, message=GLIFFY DIAGRAM, minorEdit=true, hidden=false, syncrev=null, content=CollapsedReference{idProperties={id=ContentId{id=393243}, status=current, version=CollapsedReference{idProperties={number=4}, referentClass=class com.atlassian.confluence.api.model.content.Version}}, referentClass=class com.atlassian.confluence.api.model.content.Content}}}, ancestors=null (CollapsedList), container=CollapsedReference{idProperties={id=ContentId{id=393236}, status=current, version=CollapsedReference{idProperties={number=3}, referentClass=class com.atlassian.confluence.api.model.content.Version}}, referentClass=class com.atlassian.confluence.api.model.content.Content}} no suitable delegate found. at com.atlassian.confluence.security.DefaultPermissionManager.findDelegateFor(DefaultPermissionManager.java:305) at com.atlassian.confluence.security.DefaultPermissionManager.hasPermissionNoExemptions(DefaultPermissionManager.java:113) at com.atlassian.confluence.security.DefaultPermissionManager.hasPermission(DefaultPermissionManager.java:56) ... javax.servlet.error.request_uri: /c802/plugins/gliffy/editor.action com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true

Cause

Permission errors caused by a third-party plugin Gliffy Diagrams for Confluence version 9.7.5.

Solution

This is an issue with the Gliffy release version 9.7.5 or later for Confluence 8.0.x. You will need to contact Gliffy Support in order to get this resolved.

Updated on March 14, 2025

Still need help?

The Atlassian Community is here for you.