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.
These changes are necessary to fix multiple problems with group folders display for users. Fix isgroup vs is_group error. Test if user has access to the group folder, ensure admin always sees the group folders in the arrays, and to remove child folders from the array as well as check for and manage duplicates so folders don't appear twice.
This change is for 7.13+
Description
Motivation and Context
How To Test This
This change is required in conjunction with a few others. See #277 I'll add a complete list of changes. User will be able to add group folders if they are given access via security group. Admin will see all folders.
NOTE: in conjunction with other changes, it will be necessary to re-save group inbound accounts. This is necessary so that the folders get properly marked as "is_group=1"
Types of changes
Final checklist