Closed elgg-gitbot closed 11 years ago
trac user starlessblack wrote on 38871430-11-15
sorry, this applies to version 1.1, not 1.0
trac user marcus wrote on 39021864-08-08
It looks as if we need to have the test done on the annotation in addition to the topic entity.
cash wrote on 39183181-11-11
This appears to be fixed in svn.
Original ticket http://trac.elgg.org/ticket/547 on 38870274-01-16 by trac user starlessblack, assigned to unknown.
Elgg version: 1.0
in /mod/groups/views/default/forum/topicposts.php (lines ~49 and below) looks like authors were going to give the owner of a post a permission to delete it. However, canEdit() method returns false for posts that are actually owned by a particular user (based on wrong value of owner_guid returned by get_entity() function call in /engine/lib/entities.php. get_entity in fact returns the object with owner_guid set to a guid of an owner of the whole post, not a given topic).