Opened 14 years ago
Closed 14 years ago
#2005 closed defect (bug) (fixed)
Super admin's role set to forum participant when writing
| Reported by: | 082net | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 2.2 |
| Component: | Component - Users | Version: | 2.1.2 |
| Severity: | major | Keywords: | has-patch |
| Cc: |
Description
Super admin's role changed to 'Forum participant'(default role) when writing a topic/reply.
That's because Super Admin can do 'ALL' including 'bbp_masked'
Patch::
bbp-includes/bbp-core-caps.php line:529 of v2.1.2
function bbp_global_access_auto_role() {
.....
if ( !is_super_admin() && current_user_can( 'bbp_masked' ) ) {
....
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for the report. This is already fixed in trunk.