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

TickTackk

Well-known member
Affected version
2.2.2
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');
        }
    }
 
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.
 
Back
Top Bottom