Author Topic: Editing permission not covering relationships  (Read 206 times)

Evandro

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Editing permission not covering relationships
« on: July 17, 2020, 09:50:18 pm »
Hi there, in the EA15 user guideline https://sparxsystems.com/enterprise_architect_user_guide/15.1/team_support/permissionlist.html seems that the "Update Elements" permission shall enable/disable the right of the user to create/edit/delete elements, packages AND relationships. However, I made some tests and it seems that I'm able to:
  • create a realisation from an unlocked class to a locked interface
  • create a realisation from a locked class to a locked interface
  • create a realisation from a locked class to an unlocked interface
Is there anything I am missing about this kind of user permission?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 10403
  • Karma: +342/-30
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Editing permission not covering relationships
« Reply #1 on: July 17, 2020, 10:27:37 pm »
That seems to be a bug.
You should only be able to do the first (from an unlocked element to a locked element)

Geert

Evandro

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Editing permission not covering relationships
« Reply #2 on: July 17, 2020, 11:17:11 pm »
I'm making other tests. Element editing works as it should (I can have a locked element represented in an unlocked diagram, just I cannot edit it), so it's not a matter of wrong permissions. Just seems it does not apply to relationships at all. I'm even able to delete existing relationships of locked elements. Never happened before in EA14. @Geert: do you think this bug might be related to the EA version?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 10403
  • Karma: +342/-30
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Editing permission not covering relationships
« Reply #3 on: July 17, 2020, 11:35:40 pm »
Yes, probably. I remember bumping into that a while ago, while demonstrating the locking mechanism to a client.

Make sure to report a bug the though the official channel: https://www.sparxsystems.com/support/forms/bug_report.html

Geert

Modesto Vega

  • EA User
  • **
  • Posts: 527
  • Karma: +14/-7
    • View Profile
Re: Editing permission not covering relationships
« Reply #4 on: July 22, 2020, 06:15:29 pm »
This "feature" was there at least since version 13. In fact, not only it was possible to edit, create or delete relationships but, if I remember correctly, Sparx does/did not audit relationships changes very well.

This is likely to be related to Sparx handling elements and relationships separately when relationships are a specialised type of element.

I agree, this is a bug and should be fixed.