Hello, could you please tell me how to disable caching of access rights? That is, if I add a user to a user group, then ideally, there should be immediate access to the resource. However, I’m encountering a problem where, until I reload the rights, the user doesn’t have access to the resource. MODX Revolution 2.8.6-pl
I don’t think this is possible.
MODX stores the data in the user session.
1 Like
I’m not absolutely sure, but if you’re adding the user in code, I think $modx->reloadContext(context key);
will do it.
In the manager, as halftrainedharry suggests, you’d have to use Manage->Logout All Users.
1 Like