[CFM-861] Adjust group permissions and align groups presentation.#1520
Merged
Conversation
Resolving conflicts
This was referenced Nov 13, 2016
ordavidil
reviewed
Nov 13, 2016
| foreach (c4m_features_homepage_get_user_groups_grouped_by_membership($user) as $group_list) { | ||
| foreach ($group_list as $group) { | ||
| // Deleted groups should not appear on the top bar list. | ||
| if (c4m_og_get_group_status($group) == 'deleted') { |
Contributor
Author
There was a problem hiding this comment.
c4m_features_homepage_get_user_groups_grouped_by_membership() uses
c4m_features_homepage_get_user_groups() that filters group by 'view' access:
// Removes groups where the logged in user has no access. $groups = array_filter($groups, 'c4m_features_homepage_node_access_view_filter');
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Child PRs - #1523, #1521
https://issuetracker.amplexor.com/jira/browse/CFM-861
Resolves: