@staticmethod<EOL><INDENT>def get_accessibles(request, roles=None):<DEDENT>
results = []<EOL>for role_name, organizations in six.iteritems(request.session.get(<EOL>'<STR_LIT>', {})):<EOL><INDENT>if roles is None or role_name in roles:<EOL><INDENT>results += organizations<EOL><DEDENT><DEDENT>return results<EOL>
Returns the list of *dictionnaries* for which the accounts are
accessibles by ``request.user`` filtered by ``roles`` if present.