Custom Conditions

System Information
  • Strapi Version: 3.6.5 (Entreprise Trial Licence)
  • Operating System: Windows 10
  • Database: MongoDB 4.2.7 Community
  • Node Version: 14.15.1
  • NPM Version: 6.14.8
  • Yarn Version: 1.22.11

I´m getting rare behavior using a custom condition in the bootstrap.js
We have a collection named Companies with a country field.
In this example i´m trying to show only the companies of “Uruguay”.
This condition is rendered well in the Permissions and Roles configuration section and i configured it to one user. But in the user dashboard instead of filtering some of the collection rows, all the collection is hided. Is like the user have not permission, but it has.

module.exports = () => {{
displayName: ‘company country’,
name: ‘company-country’,
plugin: ‘admin’,
handler: { country: { $eq: “Uruguay”}

What is wrong? Is It possible to do it?