Closed pfrenssen closed 7 years ago
I've updated title to also include the member role. Like in Drupal core, a user isn't saved with the authenticated role -- it's implied by it being a user.
@amitaibu Is this ticket still valid?
Yeah, you can keep open until your PR will get in.
Currently it is possible to create OgMembership entities in which the user has the 'non-member' role.
We should throw an exception when someone tries to sneak in the
OgRoleInterface::ANONYMOUS
role.This was suggested by @amitaibu in https://github.com/amitaibu/og/pull/217#discussion_r73567630 but has been split off to a separate ticket.