def list_permissions(vhost, runas=None):
    if runas is None:
        runas = salt.utils.get_user()
    res = __salt__['cmd.run'](
        ['rabbitmqctl', 'list_permissions', '-p', vhost],
        runas=runas,
        python_shell=False)

    return _output_to_dict(res)
Make a DataFrame representing simulated previous dates or values for an
dataset/ETHPy150Open saltstack/salt/salt/modules/rabbitmq.py/list_permissions--crossover with--dataset/ETHPy150Open quantopian/zipline/zipline/pipeline/loaders/utils.py/previous_event_frame