Book a Demo

Author Topic: Controlling read only and read write access to a repository using WebEA  (Read 5755 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
We have a repository with model security enabled and accessible both via Sparx EA and WebEA, we want to give more users access to the repository via WebEA, specifically we want some users to have read only access and some users to have read/write access - i.e., they should be able to edit the notes and names of elements (including packages) and diagrams. We currently do not have a requirement to hide specific packages.

The plan is to create 2 groups to handle this 2 types of access.

The question I have is what permissions should each group be granted to achieve the above.

P.S.: I have posted here since this is a question about model security.



Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
It has been 9 days since I posted this and have had no reply. Somehow, I cannot believe we are the only one trying to this; any thoughts will be much appreciated.

P.S.: I will also raise a support ticket.

rwittmann

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
I have nearly the same query: what rights have to be granted to an SQL user so that he can open and read the repository, but not modify it?
EA will exit with an exception if the user has only SELECT rights...

Was the query answered by support already?

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
[SNIP]
Was the query answered by support already?
In a very Sparxian fashion, we were provided with 3 links:

See Edit Objects - https://sparxsystems.com/enterprise_architect_user_guide/16.0/the_model_repository/webea_editobject.html

WebEA User guide - https://sparxsystems.com/enterprise_architect_user_guide/15.2/model_repository/webea_interface.html

Permission list - https://sparxsystems.com/enterprise_architect_user_guide/16.0/model_security/permissionlist.html

This does not quite address our question but after reading through this we granted WebEA read only users "Update Diagrams" and "Manage Issues" permissions. Curiously, they don't seem to be able to update diagram descriptions, the only operation they can perform through WebEA.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
We created two paths into the model from WebEA
E.g.
https://model.example.com/WebEA?m=1&o=9C50E176-CDFB-43ac-AD6B-739CB85929AF
and
https://model.example.com/WebEA?m=2&o=9C50E176-CDFB-43ac-AD6B-739CB85929AF


One provides read only access using a behind the scenes userid (with no password)
The other provides access using AD integration


Reference
Configure WebEA models - via Web Browser | Enterprise Architect User Guide (sparxsystems.com)
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Thank you for the reply, one quick question. Both models will be pointing to the same repository database and we have model security enabled. Are you saying that the we can configure the 2nd model to bypass model security?
 

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
In Sparx EA I configured a fixed user (whose name conveniently was 'View Only') to have read only rights, and no password.
In WebEA I specified that user for any access to the model using that model number.
So no bypassing the model, just leveraging the security model for the desired outcome.
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Thank you, will give it a try.