Book a Demo

Author Topic: DB Permissions for Project transfer  (Read 6378 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
DB Permissions for Project transfer
« on: June 17, 2016, 11:34:09 am »
We are creating a new SQL Server repository.
Our DB created the database and executed the EA schema SQL.
I then attempted to open the new repository and as expected received a prompt to transfer an existing project in.
I, like all users, have read-write access to the repository.
I get an error. "Cannot find the object "t_category" because it does not exist or you do not have permissions.
Yet I can see the table using SQL Server management studio.


Do I need initial additional permissions for this step?
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: DB Permissions for Project transfer
« Reply #1 on: June 17, 2016, 12:24:46 pm »
Make sure that the user performing the transfer has 'db_ddladmin' permission.

See:
http://sparxsystems.com/enterprise_architect_user_guide/12.1/the_model_repository/sqlserver_security_perms.html

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: DB Permissions for Project transfer
« Reply #2 on: June 17, 2016, 12:29:18 pm »
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: DB Permissions for Project transfer
« Reply #3 on: June 17, 2016, 12:47:49 pm »
It's because of the truncate table commands executed by the model transfer you need the ddladmin rights.

For "regular" users who don't need to to model transfer dbeader and dbwriter are enough I think.

Geert