Gliffy

You dont have permission to view this diagram from space {0}

Details

  • Type: Bug Bug
  • Status: Code Complete Code Complete
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: Gliffy Plugin for Confluence 2.0.1
  • Component/s: None
  • Security Level: Anyone may view
  • Iteration:
    1
  • Description:
    Hide

    When you're not a a user with confluence admin rights you can not see the diagram on a page, but when you are the confluence admin you can see it. Diagram was created by a user. If user creates a new diagram it can be seen by everyone. Error has me thinking that there is no link between the diagram and permitted groups. Thoughts?

    Show
    When you're not a a user with confluence admin rights you can not see the diagram on a page, but when you are the confluence admin you can see it. Diagram was created by a user. If user creates a new diagram it can be seen by everyone. Error has me thinking that there is no link between the diagram and permitted groups. Thoughts?
  • Environment:
    Oracle 10g
    Confluence 3.0.0_01 standalone
    Apache proxy

Activity

Hide
Confluence Admin added a comment - 24/Sep/09 10:16 AM

Diagram doesn't show and this error does. As confluence admin diagram shows fine or if users create new diagram on same page. Looks like a links is broken in the database between image and permission groups. Is it possible to check the database and populate it with a value?

Show
Confluence Admin added a comment - 24/Sep/09 10:16 AM Diagram doesn't show and this error does. As confluence admin diagram shows fine or if users create new diagram on same page. Looks like a links is broken in the database between image and permission groups. Is it possible to check the database and populate it with a value?
Confluence Admin made changes - 24/Sep/09 10:16 AM
Field Original Value New Value
Attachment SCNCAP227.jpg [ 11589 ]
Hide
Colin Kinder added a comment - 19/Jan/10 4:59 PM - edited

This issue seems to have popped up in our confluence install as well...
Confluence 2.10.3, MySQL
Gliffy 1.4.1
One small difference though, the space name prints instead of {0}. Here's the error message:

Gliffy Version 1.4.1 Macro Error
You don't have permission to view this diagram from space PROD

Edit: I don't know if this will help, but it looks like the creator of the diagram may have tried to move it to another page.

Edit #2: It turns out that yes, the user's attempt to move the diagram caused this issue. The user tried to copy the wiki markup from the original wiki page where the diagram was created. The new page displayed the gliffy diagram properly for that user and for the administrators but everyone else got the permission error I mentioned above. I was able to fix this issue by properly moving the diagram through these steps: http://www.gliffy.com/blog/2008/01/10/moving-gliffy-diagrams/

Show
Colin Kinder added a comment - 19/Jan/10 4:59 PM - edited This issue seems to have popped up in our confluence install as well... Confluence 2.10.3, MySQL Gliffy 1.4.1 One small difference though, the space name prints instead of {0}. Here's the error message: Gliffy Version 1.4.1 Macro Error You don't have permission to view this diagram from space PROD Edit: I don't know if this will help, but it looks like the creator of the diagram may have tried to move it to another page. Edit #2: It turns out that yes, the user's attempt to move the diagram caused this issue. The user tried to copy the wiki markup from the original wiki page where the diagram was created. The new page displayed the gliffy diagram properly for that user and for the administrators but everyone else got the permission error I mentioned above. I was able to fix this issue by properly moving the diagram through these steps: http://www.gliffy.com/blog/2008/01/10/moving-gliffy-diagrams/
Chris Kohlhardt made changes - 20/Jan/10 11:59 AM
Assignee Chris Kohlhardt [ chrisk ] Shannon Krebs [ skrebs ]
Chris Kohlhardt made changes - 20/Jan/10 11:59 AM
Fix Version/s Gliffy Confluence Plugin 2.2.0 [ 10153 ]
Hide
Shannon Krebs added a comment - 21/Jan/10 6:41 AM

Is this error reproducible at all? Obviously if a user moves the gliffy macro into a space or page with different permissions, users that can see the new space/page with the macro but not the second space/page where the diagram is attached should see an error. But if permissions should let users see the diagram would it be possible to provide steps to reproduce the problem?

Show
Shannon Krebs added a comment - 21/Jan/10 6:41 AM Is this error reproducible at all? Obviously if a user moves the gliffy macro into a space or page with different permissions, users that can see the new space/page with the macro but not the second space/page where the diagram is attached should see an error. But if permissions should let users see the diagram would it be possible to provide steps to reproduce the problem?
Hide
Colin Kinder added a comment - 21/Jan/10 3:23 PM

Hah, yeah - you're right. I didn't think to look at the space permissions for the original location of the diagram, I had assumed that it allowed anonymous viewing (most of our spaces allow this). The Gliffy error message was accurate since the page was trying to display a Gliffy diagram located in a space that had restricted permissions.

So yes, I can reproduce this but in my case Gliffy is probably working as designed Thanks for the clarification Shannon.

Show
Colin Kinder added a comment - 21/Jan/10 3:23 PM Hah, yeah - you're right. I didn't think to look at the space permissions for the original location of the diagram, I had assumed that it allowed anonymous viewing (most of our spaces allow this). The Gliffy error message was accurate since the page was trying to display a Gliffy diagram located in a space that had restricted permissions. So yes, I can reproduce this but in my case Gliffy is probably working as designed Thanks for the clarification Shannon.
Hide
Shannon Krebs added a comment - 05/Feb/10 5:42 PM

Resolving this issue as not a bug unless there is any examples where this is happening that isn't caused by space permissions.

Show
Shannon Krebs added a comment - 05/Feb/10 5:42 PM Resolving this issue as not a bug unless there is any examples where this is happening that isn't caused by space permissions.
Shannon Krebs made changes - 05/Feb/10 5:42 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Not A Bug [ 8 ]
Chris Kohlhardt made changes - 11/Feb/10 12:23 PM
Workflow jira [ 21578 ] Gliffy Default Workflow [ 27056 ]
Chris Kohlhardt made changes - 11/Feb/10 12:52 PM
Workflow Gliffy Default Workflow [ 27056 ] jira [ 28917 ]
Chris Kohlhardt made changes - 11/Feb/10 12:56 PM
Workflow jira [ 28917 ] Gliffy Default Workflow [ 31727 ]
Chris Kohlhardt made changes - 23/Feb/10 1:31 PM
Resolution Not A Bug [ 8 ]
Status Code Complete [ 5 ] Reopened [ 4 ]
Hide
Chris Kohlhardt added a comment - 23/Feb/10 1:31 PM

Shannon,

Can you please document in this JIRA issue why this is not a bug?

thanks

-chris

Show
Chris Kohlhardt added a comment - 23/Feb/10 1:31 PM Shannon, Can you please document in this JIRA issue why this is not a bug? thanks -chris
Hide
Shannon Krebs added a comment - 25/Feb/10 10:27 PM

It looks like this issue was caused by the users linking to a diagram in a different space. If a user that has permission to see the space with the Gliffy macro, but not the space where the actual attachment is saved, they will get an error. This is intentional so that the plugin respects the permission system within Confluence.

Show
Shannon Krebs added a comment - 25/Feb/10 10:27 PM It looks like this issue was caused by the users linking to a diagram in a different space. If a user that has permission to see the space with the Gliffy macro, but not the space where the actual attachment is saved, they will get an error. This is intentional so that the plugin respects the permission system within Confluence.
Shannon Krebs made changes - 25/Feb/10 10:27 PM
Status Reopened [ 4 ] Code Complete [ 5 ]
Resolution Fixed [ 1 ]
Chris Kohlhardt made changes - 11/Mar/10 7:51 PM
Workflow Gliffy Default Workflow [ 31727 ] Copy of Gliffy Default Workflow [ 35218 ]

People

Dates

  • Created:
    24/Sep/09 10:14 AM
    Updated:
    25/Feb/10 10:27 PM
    Resolved:
    25/Feb/10 10:27 PM