public function postRemap()
    {
        $oUri    = Factory::service('Uri');
        $iItemId = (int) $oUri->segment(4);
        if ($iItemId && $iItemId != activeUSer('id') && !userHasPermission('admin:auth:accounts:editothers')) {
            return [
                'status' => 401,
                'error'  => 'You do not have permission to update this resource',
            ];
        } elseif (!$iItemId && !userHasPermission('admin:auth:accounts:create')) {
            return [
                'status' => 401,
                'error'  => 'You do not have permission to create this type of resource',
            ];
        }

        return parent::postRemap();
    }