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
Added option in og_context_plugin_argument_default_group_context.inc to accompany the permission rewrite in og_context(). #131
Conversation
Issue #2151015 by hass, tmckeown, iaminawe: Migrate warnings
…roup_context.inc to accompany the permission rewrite in og_context().
@@ -32,13 +32,21 @@ class og_context_plugin_argument_default_group_context extends views_plugin_argu | |||
'#default_value' => $this->options['group_type'], | |||
'#description' => t('Determine what entity type that group should be of.') | |||
); | |||
$form['check_access'] = array( |
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.
you need to define it also in option_definition
@amitaibu thanks for the quick review. The commit with option_definition should be fine though. |
@@ -32,13 +33,20 @@ class og_context_plugin_argument_default_group_context extends views_plugin_argu | |||
'#default_value' => $this->options['group_type'], | |||
'#description' => t('Determine what entity type that group should be of.') | |||
); | |||
$form['check_access'] = array( | |||
'#type' => 'select', |
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.
this should be a checkbox
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.
Solved.
Hope it's fine now. |
Lots of karma points, if you'll be able to fix the travis tests in another PR :) |
Can you also please attach a screenshot showing the new option. |
blocked by #133 |
Is this one still blocked? |
I recently ran into this issue that needs the disable the check_access, and while I just wrote it into my own Views plugin, I wanted to follow up and check the status on this PR! |
If you amend the commit and force push it Travis will restart the test. |
Try to merge with 7.x-2.x, where Travis is now fixed. |
…ct to checkbox and changed description to match the change.
It's a pass. |
Thanks 👍 |
You're welcome. It's finally in. |
Sorry. That's weird, usually the authorship is working correctly when I just push. |
@amitaibu Any plans to release 7.x-2.10 at DrupalCon Vienna's sprints this week? |
Post DrupalCon, but I'll try to push a new version soon. |
Almost shit my pants when I noticed OG 7.x-2.9 is 2 years old in few days. |
@alesrebec I need help :) How about I'll allow you to coordinate this release (and the possible post-release issues) - would you be up for it? |
Well, I kinda gave my word to help, sooo.. yes, I'm up for it. |
@alesrebec great! Will you be in the upcoming DrupalCon? Otherwise, can you ping me via email amitai@gizra.com -- and we'll coordinate this? |
Issue #121