MaadixNet / ep_maadix

User-Management System for etherpad-lite. Demo:
https://demo.maadix.net/etherpad/
Apache License 2.0
8 stars 1 forks source link

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

Open MaadixNet opened 4 years ago

MaadixNet commented 4 years ago

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