Summary | Error: "Locked galleries are not viewable via the api." for non locked gallery |
Queue | Ansel |
Queue Version | 2.0.1 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | maxime (at) memesi (dot) net |
Created | 06/22/2012 (4765 days ago) |
Due | |
Updated | 08/29/2012 (4697 days ago) |
Assigned | |
Resolved | 06/22/2012 (4765 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
commit 5a95a608a363ccec0a6dcdb14ee88bae5781c94c
Author: maxime@chavagne.net <maxime@chavagne.net>
Date: Fri Jun 22 17:42:04 2012 -0400
Bug #11227Fix reveresed logic.Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
ansel/lib/Api.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/5a95a608a363ccec0a6dcdb14ee88bae5781c94c
commit a59eab2e4255dee39e1dece6da428ab141fd1a03
Author: maxime@chavagne.net <maxime@chavagne.net>
Date: Fri Jun 22 17:42:04 2012 -0400
Bug #11227Fix reveresed logic.Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
ansel/lib/Api.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/a59eab2e4255dee39e1dece6da428ab141fd1a03
Assigned to Michael Rubinsky
State ⇒ Resolved
commit a59eab2e4255dee39e1dece6da428ab141fd1a03
Author: maxime@chavagne.net <maxime@chavagne.net>
Date: Fri Jun 22 17:42:04 2012 -0400
Bug #11227Fix reveresed logic.Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
ansel/lib/Api.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/a59eab2e4255dee39e1dece6da428ab141fd1a03
commit 5a95a608a363ccec0a6dcdb14ee88bae5781c94c
Author: maxime@chavagne.net <maxime@chavagne.net>
Date: Fri Jun 22 17:42:04 2012 -0400
Bug #11227Fix reveresed logic.Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
ansel/lib/Api.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/5a95a608a363ccec0a6dcdb14ee88bae5781c94c
New Attachment: ansel-locked-gallery-2.0.1.patch
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Error: "Locked galleries are not viewable via the api." for non locked gallery
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
ansel/lib/Api.php On line 654
// Check age and password
if (!$gallery->hasPasswd() || !$gallery->isOldEnough()) {
throw new Horde_Exception_PermissionDenied(
_("Locked galleries are not viewable via the api."));
}
I think this should be :
// Check age and password
if ($gallery->hasPasswd() || !$gallery->isOldEnough()) {
throw new Horde_Exception_PermissionDenied(
_("Locked galleries are not viewable via the api."));
}