[Tickets #13579] Re: SlugName

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Sep 18 15:02:56 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/13579
------------------------------------------------------------------------------
  Ticket             | 13579
  Updated By         | bonnaud at hotmail.com
  Summary            | SlugName
  Queue              | Ansel
  Version            | 3.0.1
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


bonnaud at hotmail.com (2014-09-18 15:02) wrote:

>> Continuing on the slugs, I've setup general permission in Horde for
>> guest to show and read ( only way possible I found for a guest to see
>> the gallery was to add this general permission in Horde, is that
>> right ? )
>
> You need to add it to the 'Ansel' application, yes.
>
>> While viewing the gallery thru the slug as a guest, I get the link on
>> top of the picture to download the original picture. ( btw you can
>> try with the link it's working now )
>
> I cannot reproduce this, though I see it on your link. You will have  
> to track this down yourself. Look in Ansel_Gallery:canDownload() to  
> see which case is returning true.

Thanks for narrowing it down so tightly ! Very easy to track it, I got  
it to echo each case in the switch and the case 'all' got the hands up !

When I saw this, I got it. There is two sets of permissions for  
download, one in the property of the gallery and one in the  
preferences of the users. The preference of the users supersede the  
property of the gallery. Later this week I'll try to put a "if" to  
grey out the property setting if the user preference is at "anyone"  
since this gallery setting become useless in this case since it's  
superseded and while greying it out i'll try to put a explication why  
it's greyed out on it's side.

Still on the Slug subject, while viewing a picture as a guest, I get  
after a while a session expired !? What session, I'm a guest not  
logged in ?! The Horde session settings are all defaults and the only  
timer for expiration is a 72000 sec, which is a lot longer than what  
I'm seeing here for guest expiration.





More information about the bugs mailing list