Bug #501
Hidden fields in profiles and Moderators
| Status: | Closed | Start date: | 10/22/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Tom Moore | % Done: | 100% |
|
| Category: | Profile | |||
| Target version: | 1.4.10 | |||
| Reproducibility: | Always | Database Type: | ||
| Reported In MyBB Version: | 1.4.9 | Database Version: | ||
| PHP Version: | 5.3.0 | SQA assignments: | ||
| Browser: |
Description
While testing the MyBB profile, I came across this in the coding (member.php, line 1630 ish):
// If this user is an Administrator or a Moderator then we wish to show all profile fields $mybb->usergroup['cancp'] == 1 || $mybb->usergroup['issupermod'] == 1 || $mybb->usergroup['gid'] == 6)
What if a user changes group 6 so that they aren't a moderator? Or are a moderator outside of group 6 (which is the problem I have). This should really be changed to 'canmodcp' so it affects all moderators.
Associated revisions
Fixes Hidden fields in profiles and Moderators (fixes:501)
History
Updated by Ryan Gordon over 2 years ago
- Target version deleted (
1.4.10)
Updated by Ryan Gordon about 2 years ago
- Status changed from New to Assigned
- Assignee set to Tom Moore
- Target version set to 1.4.10
Updated by Tom Moore about 2 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset r4519.
Updated by Michael Schlechtinger about 2 years ago
- Status changed from Resolved to Closed