Admin with 'Root Admin (Full Admin Access)' permissions not able to delete bans #988
Open
Description
What are the steps to reproduce this issue?
- Log in with account that has 'Root Admin (Full Admin Access)' permissions
- Go to bans page
- Select one or more bans
- Click 'actions' drop down
What happens?
'Delete' option doesn't appear in drop down
What were you expecting to happen?
'Delete' option to appear in drop down
Any logs, error output, etc.?
Looks to be fixed by changing line 812 of page.banslist.php
$theme->assign('can_delete', $userbank->HasAccess(ADMIN_OWNER) || HasAccess(ADMIN_DELETE_BAN));
Any other comments?
This issue appears to be in the comms block page as well.
What versions of software are you using?
Operating System:
SourceBans++ Version: 1.8.0 | Git: 1411
PHP Version:
MySQL Version:
Link to your project:
Link to a phpinfo() output:
Metadata
Assignees
Labels
No labels