When Admin changes user's role, the database gets immediatelly updated, but the User.IsInRole uses the old role. The only thing that refreshes it is complete restart of the application.
I don't use owin, just FormsAuthentification.
When Admin changes user's role, the database gets immediatelly updated, but the User.IsInRole uses the old role. The only thing that refreshes it is complete restart of the application.
I don't use owin, just FormsAuthentification.