NationalSecurityAgency / skills-service

SkillTree is a micro-learning gamification platform supporting the rapid integration of a gamified tool training approach into new and existing applications.
https://skilltreeplatform.dev
Apache License 2.0
413 stars 96 forks source link

By default disable auto delete #2519

Open kstan79 opened 9 months ago

kstan79 commented 9 months ago

Hi,

I was implement skilltree in my organization before and everything look fine, lot of record'd put into database. Afterward there is some reason we temporary we hold the implementation until recently we want to resume back. Then we notice that all the record been deleted automatically.

I know there is email warning, and I know we shall backup the database however at try run period we no configure everything well, and all records from all employee been deleted.

To avoid another victim i suggest that add option to 'on/off' the auto delete, and off it by default to prevent unwanted deletion.

Thanks,

sudo-may commented 9 months ago

Hi @kstan79, thank you so much for requesting this feature. In the meantime, you can facilitate the on/off behaviour by setting skills.config.expireUnusedProjectsOlderThan (default is 180 days) installation property to a very large value. We also added a ticket to document these installation properties in the Properties Catalog section.