Zero-Latency Updates
The openstudio.one Permissions Control Center is designed for Real-Time Security. You do not need to ask users to "log out and log back in" for changes to take effect.
How it Works
When you click Confirm on a grant or revoke action, the system performs a specific background operation called invalidate_user_cache.
- Database Update: The permission is written to the master record immediately.
- Cache Flush: The system forces the specific user's local session cache to expire.
- Next Action: The very next time the user clicks a link or refreshes a page, their profile is rebuilt from the master database, applying your changes instantly.
Self-Correction: If you are editing your own permissions (e.g., testing a new role), the system detects this and triggers an immediate
$_SESSION['refresh_perms'] command, so you see the changes on your very next page load.