Permissions issue

Hi, I’ve just updated to 5.13.2 and .Net 6 and it went smoothly apart from one issue:

I have a couple of unit tests that check that a request by a user with insufficient permissions returns a 403 error. This has been working fine for the past couple of years but now it is returning a 500.

Has something changed with regards to RequiredPermission?

Regards,
Alan

One change was that it was expected that the sessions UserAuthId is populated with the Users Id, if that’s the issue you can either populate UserAuthId or upgrade to v5.13.3 on MyGet which has reverted this requirement.