Error after setting security

I get the following error when I try to run after setting security in Radzen:

TypeError: C:\Program Files\Radzen\resources\node_modules@radzen\angular-generator\dist\templates\core2\ApplicationUsersController.cs.ejs:19
17| <% const users = application.pages.find(page => == 'Users') -%>
18| <%_ if (users) { _%>

19| <%_ if (users.access.includes('Everybody')) { %>
20| <%
} else if (users.access.includes('Authenticated')) { %>
21| [Authorize(AuthenticationSchemes="Bearer")]
22| <%
} else { _%>

Cannot read property 'includes' of undefined

I figured it out already. I had a table “User” in my database. Adding the default security provider while having a User table seems to be an issue.

Hi Ruben,

We will do our best to handle this soon!

Best Regards,

Hi Ruben,

With the latest version of Radzen, released today, you will not have such problems anymore.

Best Regards,

Hi Vladimir,

good to know that this is fixed now.

I’m just playing around with some small test applications, so this wasn’t a big issue for me (I renamed my table to continue my experiment). But I thought it would be best to let you know about the issue.