What happens if I change the roles assigned to a user while the user works in the product?

The application updates every 15 minutes (approximately) while the user works in it.

If you remove permissions, the restrictions take place immediately even if the user continues to perform denied tasks. For instance, if you remove the ability to design a study for a user, that user may continue to see forms. But, the user cannot save any changes to the forms. Within approximately 15 minutes, the application refreshes and the user can no longer access any of the denied tasks.