Book a Demo

Author Topic: how to grant user in a sqlserver datbase  (Read 4149 times)

Bleek

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
how to grant user in a sqlserver datbase
« on: September 09, 2014, 10:29:15 pm »
I have created a sqlserver database for EA to use.
I created the tables as a user with create rights, but I want other users to be able to write to those tables.

what grants do I need to give?
Do I need to create a role?
Why is there no script from sparx for this ?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: how to grant user in a sqlserver datbase
« Reply #1 on: September 09, 2014, 11:09:03 pm »
Well, if they shall write then grant them the right. Where is the problem? DB management is task of the DBA, not of the software utilizing it.

q.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: how to grant user in a sqlserver datbase
« Reply #2 on: September 10, 2014, 07:16:07 am »
If you are having trouble setting up a SQL database then suggest seeking help from a SQL DBA or go to the MS website as there is a lot of help there on the subject. Sorry but its too technical to explain to a novice on this forum. You need to understand about  the workings of the DBMS and security models such as impersonation, trusted subsystem, single sign on etc. Most places I've worked seem to set up the database with trusted subsystem. i.e. use a username and password to access the database and that is used in the connection string. Once that's done you enable security in Sparx EA Model and create user names and passwords for each user giving them the various access rights to model.
However the you can use single sign on which passes the security token from the windows logon. Again you still need to enable security in Sparx EA model and add the users using the active directory (assuming thats being used) user names and access rights to the model.
Hope that helps  :)
« Last Edit: September 10, 2014, 07:26:17 am by phenzell »
Happy to help
:)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: how to grant user in a sqlserver datbase
« Reply #4 on: September 10, 2014, 01:51:45 pm »
Quote
There is a script

Please see http://www.sparxsystems.com/enterprise_architect_user_guide/10/projects_and_teams/createanewsqlserverreposi.html\

Think he's used that to create the tables but setting up user rights seems to be his downfall.
Happy to help
:)