exoplatform/calendar — pull request #63 by ngoctm (2014-05-26 05:04:21+00:00)
Title: CAL-850 Can add permission for membership while Notification notices tha...

...t user does not exist

Fix description: refactor method #getPermissions()
- Check ANY permission (.) first
- Then, check membership type permission (*.MEMBERSHIPTYPE)
- The last, check that user is exising in group by use MembershipHandler#findMembershipsByUserAndGroup(username, groupId) instead of load all user in group then loop