Author Topic: Prevent accidental deletes of elements  (Read 139 times)

mse

  • EA User
  • **
  • Posts: 106
  • Karma: +1/-0
    • View Profile
Prevent accidental deletes of elements
« on: October 08, 2019, 01:04:13 am »
We have a composite class that has many properties and over time we had people add many connections between properties within that composition.

Someone accidentally deleted this composite however and now we will need our IT to restore.

How can we prevent this in the future? Is there a way to have more control over that composition class in order to prevent such things?

Our model is a repository model based on SQL Server.

PeterHeintz

  • EA User
  • **
  • Posts: 817
  • Karma: +49/-17
    • View Profile
Re: Prevent accidental deletes of elements
« Reply #1 on: October 08, 2019, 01:43:05 am »
You could apply locks.
Best regards,

Peter Heintz

qwerty

  • EA Guru
  • *****
  • Posts: 10631
  • Karma: +234/-195
  • I'm no guru at all
    • View Profile
Re: Prevent accidental deletes of elements
« Reply #2 on: October 08, 2019, 01:44:59 am »
Funny. I always call EA's "security" accidental deletion prevention (which it basically is).

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9542
  • Karma: +275/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Prevent accidental deletes of elements
« Reply #3 on: October 08, 2019, 03:07:51 am »
You can setup a few things:

- EA Security (with option "Require User Lock to Edit")
- Weekly project transfers to .eap files (to avoid having to restore the whole database)
- Some kind of automated check implemented in an EA-Matic script or an add-in that prevents the deletion of elements. See https://bellekens.com/2015/01/18/prevent-accidental-deletes-with-ea-matic/ for an example.

Geert