How to create and where to put Custom Jars

I am trying to restrict data source creation in CE version to 1 user only. so that user will be admin rest of them will be regular users (user role). I have created the CustomSecPackDACDaemonModule extending DACDaemonModule. However it didnt work. Did anyone try this and were successful?

We are using CE for all POC work in our nonprod area.

Were you able to get your custom jar working and have it triggered by dremio?

I was not able to. if you made any progress let me know.