diff --git a/volttron/platform/vip/agent/subsystems/rpc.py b/volttron/platform/vip/agent/subsystems/rpc.py index 11fceef6ee..f567f59036 100644 --- a/volttron/platform/vip/agent/subsystems/rpc.py +++ b/volttron/platform/vip/agent/subsystems/rpc.py @@ -304,9 +304,9 @@ def _add_auth_check(self, method, required_caps): def checked_method(*args, **kwargs): user = str(self.context.vip_message.user) if self._message_bus == "rmq": - # When we address issue #2107 external platform user should - # have instance name also included in username. - user = user.split(".")[1] + # remove platform instance name. rmq user names are of the format . + user = user[user.index(".")+1:] + user_capabilites = self._owner.vip.auth.get_capabilities(user) _log.debug("**user caps is: {}".format(user_capabilites)) if user_capabilites: