> Thanks for reporting this. Would you mind putting it in trac?
> On Feb 1, 2012 6:17 AM, "sergiy.kamolov" <sergiy.kamo
...@gmail.com> wrote:
>> 1.Login as user 1 who is a friend with user 2
>> 2.Add a new page with Friends write access, as user 1
>> 3.Login as user 2
>> 4.Open list of Friends' pages
>> Result: user 2 don't Edit link
>> Expected result: friends should be able to edit items with Friends
>> Write Access.
>> Is it a bug or may be I miss something?
>> P.S. I found that inside pages_write_permission_check (/mod/pages/
>> start.php:286) we never checking does current user is a friend of
>> enitiy's owner or not just check user's access array.
>> $list = get_access_array($user->guid);
>> May be we need to add something like that:
>> if ($user->isFriendsWith($params['entity']->owner_guid)){
>> $list[] = -2;
>> }
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Elgg development" group.
>> To post to this group, send email to elgg-development@googlegroups.com
>> To unsubscribe from this group, send email to
>> elgg-development+unsubscribe@googlegroups.com
>> Elgg: http://elgg.org/
>> Remember, bug reports should be filed at http://trac.elgg.org/elgg!
> --
> You received this message because you are subscribed to the Google
> Groups "Elgg development" group.
> To post to this group, send email to elgg-development@googlegroups.com
> To unsubscribe from this group, send email to
> elgg-development+unsubscribe@googlegroups.com
> Elgg: http://elgg.org/
> Remember, bug reports should be filed at http://trac.elgg.org/elgg!
Sergiy Kamolov.
God bless you.