Permissions for database diagram

  • i have given a user db_datareader, db_datawriter  permission so that he can view table data and add and delete rows in the table only.

    but they want to see the database diagram. what permission should i give them to see the database diagram but they should not edit or delete anything. please help

    thanks

      

     

  • I would use a DDL trigger for the database. You can specify which changes should be prevented. Any modification to the diagram would fire the trigger and you could raise an error and rollback the change there for this user.

    ...and your only reply is slàinte mhath

  • Check out this:

    http://msdn2.microsoft.com/en-us/library/ms175808.aspx

    VIEW DEFINITION Permission
     
    and this:
     
     

    Metadata Visibility Configuration

    Regards,Yelena Varsha

  • I've found that only the owner of a diagram i.e. the user who created it, or a member of the db_owner role can open diagrams.

    Greg

    Greg

Viewing 4 posts - 1 through 3 (of 3 total)

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