Thank you for your answers! -- Vilius
-----Original Message----- From: Justin Bertram <jbert...@apache.org> Sent: Saturday, June 15, 2024 1:18 AM To: users@activemq.apache.org Subject: Re: deletion of roles If you're using the ActiveMQBasicSecurityManager you don't need to do anything other than removing the user. Internally the roles are keyed off the user so when the user is removed the role entries for that user are removed as well. Justin On Fri, Jun 14, 2024 at 2:53 PM Vilius Šumskas <vilius.sums...@rivile.lt> wrote: > 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 > > --------------------------------------------------------------------- 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