Book a Demo

Author Topic: Stupid Version Control Question  (Read 4452 times)

CraigCullen

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Stupid Version Control Question
« on: September 28, 2017, 08:35:55 pm »
At the risk of attracting sarcastic replies about the fundamental nature of version control, I have a silly question to ask.

I wish to allow business users to have full access to Sparx to create business viewpoints etc, and I want them to be able to drag in links to library objects such as Applications, and create their own relationships to them.
However, I would also like to lock down our libraries with version control, so that only selected senior users can edit these objects.  Regular users would not have any version control facility.
I have applied Subversion, but it seems to just fully block any activity whatsoever regarding version controlled objects.  No dragging and dropping, no creating relationships etc.

Does anybody have any experience of such a contradiction in requirements, and can you suggest a way to achieve both of my objectives? i.e. security for libraries, while allowing free use of those version controlled objects in viewpoints etc.

Thanks.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Stupid Version Control Question
« Reply #1 on: September 28, 2017, 08:48:04 pm »
That won't work (if I got you right). A package is either version controlled or it isn't. However, you could achieve most (all?) of the above with just EA security and a manual (/scripted) export of packages to an external VC system.

q.

CraigCullen

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Stupid Version Control Question
« Reply #2 on: September 29, 2017, 12:59:56 am »
Many thanks qwerty.  I think you are right and this would suit my purposes.
I found this page following your advice, and it should see me on the right track- https://www.sparxsystems.com.au/enterprise_architect_user_guide/13.5/model_publishing/o1133.html


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Stupid Version Control Question
« Reply #3 on: September 29, 2017, 05:46:58 am »
Yes, that's a good alternative too :-) You could also consider the r/o version EALite which has full functionality, but just for reading the model.

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Stupid Version Control Question
« Reply #4 on: September 29, 2017, 05:04:48 pm »
That won't work (if I got you right). A package is either version controlled or it isn't.

That's not quite right. With user security, you can allow some users, but not others, access to the version control facilities.

But that's a moot point, really. I discourage the use of external version control (edit: it's called manual version control these days) in EA because it just doesn't work all that well. Mainly due to the fundamental nature of version control. :)

I am a great fan of the Reusable Asset Service, which can be used to good effect in scenarios similar to the one you describe. With this, you store reusable models in a "storage", from which they can be retrieved to different projects. This way, there is a published approved version of a model which doesn't change (until users with the right level of access decide it should), while other modellers (such as your business users) have access to local copies which they can use and even make changes to without breaking anything in the published version.

The trick there is not to limit yourself to a single project. If that's your thinking, you're missing a large piece of the EA deployment puzzle.

Finally, I wouldn't go down the EALite route. I have no inside information, but my feeling is that Sparx considers that a bit of an ugly stepchild. They won't drop it because they don't drop anything, but I'm pretty sure they'll be allocating far more resources to the webby side of things than to EALite.

HTH,


/Uffe
« Last Edit: September 29, 2017, 05:08:28 pm by Uffe »
My theories are always correct, just apply them to the right reality.