Assaro / DD_Bot

Discord Bot to Control Docker Services via the Docker Socket
GNU General Public License v3.0
35 stars 5 forks source link

Hide containers not in the Allowed list #21

Closed chris3081 closed 1 year ago

chris3081 commented 1 year ago

Any chance you could add the ability to hide the containers not in allowed list? happy to submit a PR if you like

Assaro commented 1 year ago

You mean display only the containers in the allowedContainers list? This is true for everyone who isn't an admin. Would be an easy fix. I am however currently working on a complete rewrite of all the permissions. I will probably not add anything like that to the current version. I may add it to the new iteration. You can check it out by using the dev image from docker. It should be fully working. Please save your settings before trying it.

Edit: The documentation in the dev build is not up-to-date yet. Most things should hopefully be self-explanatory. If you have a question feel free to contact me on Discord. I will probably answer faster there

chris3081 commented 1 year ago

Perfect, for the moment I've dropped the admins into the users list and that will sort things for me in the short term thanks.