in custom edit template i display user roles:
portal_membership nocall: context/portal_membership;
userRoles python: portal_membership.getAuthenticatedMember().getRoles();
from /@@usergroup-userprefs i added, removed roles to a test user,
but when logged in as test user i see the same roles!
Test user roles shown changed in custome edit template only when i restart client by runnning
bin/client1 restart; bin/client1 stop; bin/client1 fg
Could anyone give advice? Many thanks.