amitaibu / og

A fork to work on OG8
https://github.com/Gizra/og
29 stars 16 forks source link

Check permissions for non-member #280

Closed amitaibu closed 7 years ago

amitaibu commented 7 years ago

\Drupal\og\OgAccess::userAccess should take non-members into account.

When we iterate over the user's roles we only take care of the situation they are members. We should explicitly take care also of the non-member case.

amitaibu commented 7 years ago

Ready for review