-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow checkboxes/radios #311
Conversation
6689fcc
to
ca4d91a
Compare
@@ -160,7 +161,7 @@ function og_entity_create_access(AccountInterface $account, array $context, $bun | |||
$handler = Og::getSelectionHandler($field_definition); | |||
|
|||
if ($handler->getReferenceableEntities()) { | |||
return Accessresult::neutral(); | |||
return AccessResult::neutral(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RoySegall we are probably missing a Kernel test to cover this line, would you mind creating a test in a separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PHP classnames are not case sensitive but file systems might be so this is an interesting bug which might not trigger ever... but it's better be fixed.
I took out the |
I've restarted Travis, I suspect there's something in the GroupTab tests that randomly fails, but it's not related to this PR. |
Merged, thanks. Btw, next time you can open a PR against Gizra/og -- moved it back there to get more visibility |
Oh, and completely off topic - I'd be happy if you could maybe point me in the right direction with Gizra#163 (comment) |
Throw an exception when calling `MembershipManager::getGroupIds()` with an entity which is not group content
This allows using checkboxes/radios