-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Description
I cannot tell if this is a bug or something else, but I think this is the right place to share and ask... Because there may be a small bug somewhere in the upgrade...
After upgrading to 10 (from 9.1) our Angular front-end started to act weird; if you refresh via browser in any URL, it was showing 403 and dropping to base URL. After searching and looking for the reason everywhere we tried and change the routings (that are using permission guard) from this:
data: {
requiredPolicy: 'AbpIdentity.Roles.Create',
},
to this old type:
data: {
routes: {
requiredPolicy: 'AbpIdentity.Roles.Create',
},
},
And refresh issue was solved. But knowing that the latter is an old format, we are wondering what might be the real issue and what might be a better solution?