Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for listing roles for users. Specify security setting match address #19

Merged

Conversation

guidograzioli
Copy link
Member

@guidograzioli guidograzioli commented Aug 29, 2022

Fix #12
Fix #16

While this changeset originates from a bug report, the solution involves refactoring the key in the activemq_users dictionary from role: str to roles: list(str), thus it is marked as major_change

Example configuration:

    activemq_users:
      - user: amq
        password: amqbrokerpass
        roles: [ admin ]
      - user: other
        password: amqotherpass
        roles: [ consumer, producer ]
    activemq_roles:
      - name: admin
        permissions: [ createNonDurableQueue, deleteNonDurableQueue, createDurableQueue, deleteDurableQueue, createAddress, deleteAddress, consume, browse, send, manage ]
      - name: consumer
        match: topics.#
        permissions: [ consume, browse ]
      - name: producer
        match: topics.#
        permissions: [ send, browse ]

@guidograzioli guidograzioli added the bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements label Aug 29, 2022
@guidograzioli guidograzioli added major_changes Major changes mean the user can CHOOSE to make a change when they update but do not have to and removed bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements labels Aug 30, 2022
@guidograzioli guidograzioli merged commit 8e69950 into ansible-middleware:main Aug 30, 2022
@guidograzioli guidograzioli changed the title Allow to list roles for users, specify security setting match address Allow for listing roles for users. Specify security setting match address Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major_changes Major changes mean the user can CHOOSE to make a change when they update but do not have to
Projects
None yet
2 participants