we basically need to extract the "role" (or the permissions) from the HTTP_REQUEST.
UPS has something like this: