By Albert on Tuesday, 23 May 2017
Posted in General
Replies 4
Likes 0
Views 256
Votes 0
You have not worked with access rights to like the Page and join the Event.

.../components/com_easysocial/themes/wireframe/helpers/page/action.php
Replace code: <?php if (!$page->isMember() && !$page->isPendingMember()) { ?>
with code: <?php if ($this->my->getAccess()->get('pages.allow.like') && !$page->isInviteOnly() && !$page->isMember() && !$page->isPendingMember() && !$page->isInvited()) { ?>

.../components/com_easysocial/themes/altheme/helpers/event/action.php
Replace code: <?php if (($event->isOpen() || $isParticipant || $isClusterAllowed) && !$isPending && !$event->isDraft()) { ?>
with code: <?php if (($event->isOpen() || $isParticipant || $isClusterAllowed) && $this->my->getAccess()->get('events.allow.join') && !$isPending && !$event->isDraft()) { ?>

I did the right thing?
Not really sure if I understand what you are trying to achieve here. Is this for the bug that you are referring to at https://stackideas.com/forums/acl-for-limit-join-event-and-like-page ?

It does seem to be correct but I have created a ticket for this internally so that our developers could check.
·
Tuesday, 23 May 2017 21:28
·
0 Likes
·
0 Votes
·
0 Comments
·
There is a solution to another problem
·
Wednesday, 24 May 2017 04:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Albert,
Thanks for reporting. I will include this issue in the tracker as well so the devs can review them.
·
Wednesday, 24 May 2017 11:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post