Check current user has permission to access a node or not
- For each permission, compare with user's permissions
- If permission has membership type is "*", just check the user's group id only
- If permission has other membership types, then check the user's membership type and user's group id