Ticket #2621 (new enhancement)
Suggested change to the Members::inGroups() function
| Reported by: | scott@… | Assigned to: | scott@… |
|---|---|---|---|
| Type: | enhancement | Priority: | medium |
| Milestone: | Component: | Sapphire Framework | |
| Version: | 2.2.2 | Severity: | medium effort / impact |
| Keywords: | member groups | Cc: | scott@startgrid.com |
| Due date: | Harvest Task: | (Unknown) | |
| Invoice sent to client: | 0 | Hours: |
Description
To check a member's permissions by group Title is unreliable as a title can be duplicated. Consider changing (rev. 56219) line 555 from:
$memberGroups[] = $group->Title;
to:
$memberGroups[] = $group->ID;
Has been tested with users in multiple groups.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
