def load_user_role_assignments(self):
        """
        Load all the user role assignments.

        :rtype: ``dict``
        """
        LOG.info((self._role_assignments_path) % 'Loading user role assignments from "%s"')
        file_paths = self._get_role_assiginments_file_paths()

        result = {}
        for file_path in file_paths:
            LOG.debug('Loading user role assignments from: %s' % (file_path))
            role_assignment_api = self.load_user_role_assignments_from_file(file_path=file_path)
            username = role_assignment_api.username
            enabled = getattr(role_assignment_api, 'enabled', True)

            if username in result:
                raise ValueError('Duplicate definition file found for user "%s"' % (username))

            if not enabled:
                LOG.debug('Skipping disabled role assignment for user "%s"' % (username))
                continue

            result[username] = role_assignment_api

        return result
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/rbac/loader.py/RBACDefinitionsLoader.load_user_role_assignments/swapped operands of `%`