History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GLIFFY-528
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Shannon Krebs
Reporter: Shannon Krebs
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Gliffy Product

Add diagram link displayed when users don't have add permission

Created: 17/Feb/08 05:17 AM   Updated: 09/Oct/08 12:56 PM
Component/s: Confluence Plugin Integration
Affects Version/s: None
Fix Version/s: Gliffy Plugin for Confluence - 1.4.0
Security Level: Anyone may view

Issue Links:
Related
 


 Description  « Hide
The "Add Diagram" link on the menu bar seems to be shown based on having the create/edit page permission. But to create a Gliffy diagram users need the create attachment permission as well.

If a user with create page permission but not create attachment permission clicks on the add diagram link they get a blank page.

The error in the log is:

2008-02-17 21:15:01,750 WARN [http-8080-Processor4] [com.opensymphony.xwork.DefaultActionInvocation] executeResult No result defined for action com.gliffy.confluencePlugin.action.AddDiagramAction and result pagenotpermitted



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Chris Kohlhardt - 06/May/08 08:02 AM
I briefly spoke to Jens about this last week at the Atlassian User Group, and he seems to think it may be possible to fix this programatically. Can you please give it a shot?

Shannon Krebs - 18/May/08 04:08 AM
The AttachmentPermissionCondition is what we need, unfortunately that doesn't exist in the 2.2 versions of confluence. Will have to create our own version of it.

Shannon Krebs - 01/Jun/08 01:17 AM
new CreateAttachmentPermissionCondition has been added for the 2.2 and 2.3+ builds.