System Information
- Strapi Version: 4.11.4
- Operating System: Mac
- Database: sqlite
- Node Version: >=14.19.1 <=18.x.x
- NPM Version: >=6.0.0
- Yarn Version: >=1.0.0
Hi i need help
in my boostrap i have this code:
async bootstrap({ strapi }) {
await strapi.admin.services.permission.conditionProvider.register({
displayName: 'Custom RBAC',
name: 'custom-rbac',
handler: async (user) => {
const entries = await strapi.entityService.findMany('api::producto.country', {
where: {
titulo: "Spain",
},
populate: ['createdBy', 'updatedBy'],
});
return entries;
},
});
}
and result is error: Undefined attribute level operator id
Error: Undefined attribute level operator id
i don’t know why