Want to give rights to user wo can configure replication but can not update database

  • sonimitu

    Valued Member

    Points: 61

    Hi!

    I am using SQL 2005 Enterprise Edition, I want to create a user who do not have update rights on the database (allowing read and write), but he can create replication for the same database.

    As I have seen in some microsoft links - user should have sysadmin rights to configure distribution, publisher etc.

    Is it possible that I can deny update rights for user who have sysadmin role?

    Thanks..

  • Jeff Moden

    SSC Guru

    Points: 993883

    sonimitu (8/16/2016)


    Hi!

    I am using SQL 2005 Enterprise Edition, I want to create a user who do not have update rights on the database (allowing read and write), but he can create replication for the same database.

    As I have seen in some microsoft links - user should have sysadmin rights to configure distribution, publisher etc.

    Is it possible that I can deny update rights for user who have sysadmin role?

    Thanks..

    No... you cannot deny any priv to someone who's a member of the sysadmin role. I also wouldn't let a "user" do anything as serious as replication unless they could, indeed, be trusted with both the role and the task at hand. Even then, it's not likely I'd ever allow a "user" to setup replication on servers that I'm charged with.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
    "If you think its expensive to hire a professional to do the job, wait until you hire an amateur."--Red Adair
    "Change is inevitable... change for the better is not."
    When you put the right degree of spin on it, the number 3|8 is also a glyph that describes the nature of a DBAs job. 😉

    Helpful Links:
    How to post code problems

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply