Fixed Using username autocomplete in acp requires "Manage users" admin permission

Affected version
2.2.2

TickTackk

Well-known member
In core.js
JavaScript:
        getAutoCompleteUrl: function()
        {
            if (XF.getApp() == 'admin')
            {
                return XF.canonicalizeUrl('admin.php?users/find')
            }
            else
            {
                return XF.canonicalizeUrl('index.php?members/find')
            }
        },
but in XF\Admin\Controller\User controller:
PHP:
    protected function preDispatchController($action, ParameterBag $params)
    {
        switch (strtolower($action))
        {
            case 'index':
                break;

            default:
                $this->assertAdminPermission('user');
        }
    }
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.3).

Change log:
Do not require full user management permissions for username autocompletion in the control panel.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top