Summary | Resources are now considered as private |
Queue | Kronolith |
Queue Version | FRAMEWORK_5_2 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | heinz (at) htl-steyr (dot) ac (dot) at |
Created | 04/11/2017 (3071 days ago) |
Due | |
Updated | 10/20/2017 (2879 days ago) |
Assigned | 04/12/2017 (3070 days ago) |
Resolved | 04/12/2017 (3070 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit d724020d53e67ec6757357ffb8738fa4cfc908c7
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Thu, 13 Apr 2017 16:02:48 -0400
Bug: 14609Removed the wrong check.Only consider the resource_management permission when deciding
if we can display the full title or not.
M lib/Event/Resource/Sql.php
https://github.com/horde/kronolith/commit/d724020d53e67ec6757357ffb8738fa4cfc908c7
commit 3c85acaf1dacd073ee4495423e9ecbeca4177dfc
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed, 12 Apr 2017 13:03:53 -0400
Bug: 14609Don't hide the reservee, only the title.It's reasonable to list the person reserving the resource, so someone
knows who to contact about possible conflicts etc...
M lib/Event/Resource/Sql.php
https://github.com/horde/kronolith/commit/3c85acaf1dacd073ee4495423e9ecbeca4177dfc
isPrivate() is always returning true
commit 4c2316af8caa2070756f83fb176dc51da80a3476
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Thu Apr 13 16:02:48 2017 -0400
Bug: 14609Removed the wrong check.Only consider the resource_management permission when deciding
if we can display the full title or not.
kronolith/lib/Event/Resource/Sql.php | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
http://github.com/horde/horde/commit/4c2316af8caa2070756f83fb176dc51da80a3476
users with "Resource Administration" permissions. However, I think
it's reasonable to show the reservee's name and hide the event title
instead.
isPrivate() is always returning true
(because resources don't have any share entry in the dadabase)
and the code
(strlen($this->title) ? sprintf('%s %s', $this->title, $reservee) :
sprintf(_("[Unnamed event] %s"), $reservee))
is never executed.
commit 36f9dd4b796b9d21805e0f1ca919d4bce26465d6
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed Apr 12 13:03:53 2017 -0400
Bug: 14609Don't hide the reservee, only the title.It's reasonable to list the person reserving the resource, so someone
knows who to contact about possible conflicts etc...
kronolith/lib/Event/Resource/Sql.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://github.com/horde/horde/commit/36f9dd4b796b9d21805e0f1ca919d4bce26465d6
State ⇒ Assigned
Assigned to Michael Rubinsky
users with "Resource Administration" permissions. However, I think
it's reasonable to show the reservee's name and hide the event title
instead.
If true (private) is returned (and that is now the case for all
resources) the resource title is set to "busy"
behavior until now: the event title (using the resource) and the
reserver (reserved by: ...) were displayed
maybe the resource itself sould now have a private field in its properties
State ⇒ Feedback
Can you please explain exactly what you are seeing, and what you
expect to see?
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ Resources are now considered as private
Type ⇒ Bug
The reason is the change in the solved
ticket 14568with commita32314ab7ee34c05d2915206ad8525efdd1e6032
function isPrivate() of Kronolith_Event now checks READ with
hasPermission(Horde_Perms::READ)
hasPermission is retrieving the event's share
since calendar resources are not listed in the share database all
resources are now private