Remove authen or back to login after change resource role

i have a account sub_admin with resource role sub-admin. In acccount admin i update resource role sub-admin but account sub_admin already login still access old role of sub-admin.
How can i logout account sub_admin if another account change resource role realtime.