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

Key: GLIFFY-709
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Shannon Krebs
Reporter: Chris Kohlhardt
Votes: 0
Watchers: 0
Operations

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

Remove link should be shown when user has permission to edit page

Created: 24/Jun/08 01:00 PM   Updated: 04/Jul/08 08:34 AM
Component/s: None
Affects Version/s: None
Fix Version/s: Gliffy Plugin for Confluence - 1.4.1
Security Level: Anyone may view


 Description  « Hide
I think the logic for the remove link should be something like this:
if( diagram is attached to current page ) {
    if( user has page edit permissions OR ( user has page edit permissions AND attachment remove permissions ) ) {
         show remove diagram link
    } else {
         don't show remove diagram link
    }
} else {  //diagram is attached to a page different than the current page being viewed
   if( user has page edit permissions on the current page ) {
        show remove diagram link
   } else {
        don't show remove diagram link
   }
}


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shannon Krebs - 04/Jul/08 08:25 AM
There is no real difference between the two scenarios you list above, if the user has edit permission on the page they will get the remove link. The remove action will decide if they get to remove the attachment as well.