Admin with 'Root Admin (Full Admin Access)' permissions not able to delete bans
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.?
Currently
After below fix
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:
Could you verify your user permission ? I was unable to repro this issue, also this issue can't occure on comms list, the tickbox feature is not implanted in it yet.
Thanks for checking. Yes, only applies to Bans page
My permissions
Set using
Bans page with variables echoed
Using this code