elgg-gitbot / test

0 stars 0 forks source link

Owners are not able to remove their posts in group forum (Trac #547) #44

Closed elgg-gitbot closed 11 years ago

elgg-gitbot commented 11 years ago

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).

elgg-gitbot commented 11 years ago

trac user starlessblack wrote on 38871430-11-15

sorry, this applies to version 1.1, not 1.0

elgg-gitbot commented 11 years ago

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.

elgg-gitbot commented 11 years ago

cash wrote on 39183181-11-11

This appears to be fixed in svn.