It is very similar to this question on the forum:
but more extended.
Basically, I would like to retrieve the module roles of current user from my widget.
Are those values stored anywhere in client side?
or the list in the dom
<body dir="ltr" class="profile-desktop role-user">