Hi,

we use ActiveMQBasicSecurityManager so I assume roles are stored in the binding 
files on the datastore. We manage hundreds of users, each user has their own 
role.

Artemis CLI provides ways to cleanup users, but I didn't find anything related 
to roles. What is the best way to delete few hundred of roles without resorting 
to development languages and protocols? Something to feed CSV file through a 
bash script would be nice.

-- 
    Vilius

-----Original Message-----
From: Justin Bertram <jbert...@apache.org> 
Sent: Friday, June 14, 2024 10:42 PM
To: users@activemq.apache.org
Subject: Re: deletion of roles

As far as the broker is concerned I don't think there's any specific reason to 
delete roles. Of course, you may want to delete them for other reasons (e.g. 
the artemis-roles.properties file is taking up a bunch of disk space).


Justin

On Thu, Jun 13, 2024 at 2:34 AM Vilius Šumskas <vilius.sums...@rivile.lt>
wrote:

> Hi,
>
> just wondering, if I delete Artemis user, do I also need to somehow 
> delete their role too? (assuming that this role is not used anywhere 
> else) Or are roles just like “labels” on user objects and there is no 
> need to delete them separately?
>
> --
>    Best Regards,
>
>     Vilius Šumskas
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org
For additional commands, e-mail: users-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to