Book a Demo

Author Topic: Non visible Packages  (Read 4181 times)

cfranco

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Non visible Packages
« on: September 11, 2012, 06:54:02 pm »
Hello,
I want to add more security to our Documentation repository. I would like to assign the visibility of a package to a user or a group. When a user A open the project, then only some package will be showed.

Is it possible? As I saw in the online documentation, you can only protect the write access, but not the read one.

Thank you for your support!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Non visible Packages
« Reply #1 on: September 11, 2012, 07:29:21 pm »
No that is not possible.
You'll have to use different repositories to achieve that.

Geert

cfranco

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Non visible Packages
« Reply #2 on: September 11, 2012, 08:07:08 pm »
Quote
No that is not possible.
You'll have to use different repositories to achieve that.

Geert

And which is the best way to share some common packages? Example:
Package A -- Common for both repositories
Package B -- Only visible for group X
Package C -- Only visible for group Y

As I understand, I need to create 2 repositories R1 and R2.
In the R1 I will create the package B
In the R2 I will create the package C

But how can I add the Package A in both repositories? I want to keep all the relations between elements in different packages also.

Thank you for your good support.

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Re: Non visible Packages
« Reply #3 on: September 11, 2012, 08:07:10 pm »
You could write an addin, which denies the the user the access to an package.

Give your inaccessible package an value or modification which will be casted at the package click and doubleclick.

BUT:

what are you doing if someone shuts off the add-in  ;D ;) >:(


What are you trying to achieve with the permissions for groups?

regards

Stefan
Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website

cfranco

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Non visible Packages
« Reply #4 on: September 11, 2012, 08:47:31 pm »
Quote
You could write an addin, which denies the the user the access to an package.

Give your inaccessible package an value or modification which will be casted at the package click and doubleclick.

BUT:

what are you doing if someone shuts off the add-in  ;D ;) >:(


What are you trying to achieve with the permissions for groups?

regards

Stefan

Thanks Stefan, we have some users that should not have access to some packages, but we want to have the repository as centralized as possible. Look at the scenario in the previous post.

Thanks again for your support!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Non visible Packages
« Reply #5 on: September 11, 2012, 08:55:54 pm »
We use version control to manage shared models.
We currently have two repositories (databases), lets call them A and B
Both repositories use a common model (C)
C has been started in one of the two repositories and then the complete model has been controlled in version control.
Then it was imported in the other repository.
From then on we can work on the common model from either repository.
The only thing is that you have to do a "getlatest" in one repository if you have checked from the other in order to see the latest changes.

Geert

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: Non visible Packages
« Reply #6 on: September 11, 2012, 08:56:21 pm »
You could export from your master to the other repositories and lock the packages from the master that you do not want the users of the other repositories to use.  This would enable them to reference the elements but not change them.  You would them do the reverse, import from the sub repostories into the master to maintain the master.  All very time consuming  but do able.

If you make the packages invisible then you run the risk of people replicating the functionality or missing dependencies etc.
« Last Edit: September 11, 2012, 08:58:09 pm by RobertS »