Book a Demo

Author Topic: How to set a package as read only.  (Read 4266 times)

Rick Meng

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
How to set a package as read only.
« on: June 02, 2010, 12:30:01 pm »
I am using EA API to import model library from a registry server. I want to set imported libraries to be read only. Which EA API function should I use?

Thank you very much.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to set a package as read only.
« Reply #1 on: June 02, 2010, 04:42:40 pm »
Rick,

There are basically two ways to prevent modifications to a package
- Use the security feature
- Use Version Control integration.

Security is the easiest to setup, but it is not as safe as VC integration.

Geert

beginner

  • Guest
Re: How to set a package as read only.
« Reply #2 on: June 02, 2010, 08:48:39 pm »
Actually the EA Security Feature has the wrong name. It should be called Accidental Deletion Prevention. It's much too lightweight for security. E.g. if you are working in a group-locked package and create new elements, these are not locked. You have to do that manually as an extra step. There are quite another number of quirks. Using VC might be more save. It has however another number of drawbacks...

b.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to set a package as read only.
« Reply #3 on: June 02, 2010, 10:51:25 pm »
Quote
Actually the EA Security Feature has the wrong name. It should be called Accidental Deletion Prevention.
So right  ;D

Geert

Rick Meng

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: How to set a package as read only.
« Reply #4 on: June 03, 2010, 09:34:46 am »
Thank you everyone. :D