MaadixNet/ep_maadix

User session not properly cheched when entering a group pad from link.

Opened this issue · 0 comments

Sessions for users are only properly created when they visit a Pad from the Group pad list Page. If a pad is directly opened from a link, a message ?You don't have permission to vosot this pad' is shown, even if the user is authenticated and belongs to the group.
Session is not properly managed in
https://github.com/MaadixNet/ep_maadix/blob/master/hooks.js#L1138

Should be like in:
https://github.com/MaadixNet/ep_maadix/blob/master/hooks.js#L1098