Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Warning message for user having no db_owner permission but having full permission for the table


Warning message for user having no db_owner permission but having full permission for the table

Author
Message
IT researcher
 IT researcher
SSC Veteran
SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)

Group: General Forum Members
Points: 294 Visits: 1798
I am accessing my sql server 2008 r2 express server using SSMS. I have about 5 logins. For a particular login i hav all server roles other than sysadmin.In user roles it has only "public" permission for a database.
For that database in properties->permission i gave all values 'grant '. Then for some table i restricted the access in table properties.

Now when i login by using this user i can access the database and access all tables other than for which i have completely restricted access. So it is what has to be according what permission i gave.

only problem is when i access other tables and open designs i get message like

"You are not logged on as the database owner or system administrator. You might not be able to save changes to tables that you do not own."

But i am able to edit design. And after editing design when i save i again get message like "Warning were encountered during the pre-save validation process, and might result in a failure during save. Do you want to continue attempting to save?" .Now on clicking save the design gets saved with the changes i have done. It is ok that it got edited because the user has permission for that table.
But why does those message come even if i have full permission to edit database and design.(even though i don't have db_owner) ?
Can i avoid those messages? Or is there any problem to database if i edit in user with no db_owner permission?
John Mitchell-245523
John Mitchell-245523
SSCertifiable
SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)

Group: General Forum Members
Points: 7367 Visits: 15093
It's probably the application checking that you're a member of the db_owner role before you make the changes. If it allows you to proceed despite the fact you're not a member, you should be OK, provided you have sufficient permissions to make all the changes you're attempting.

John
IT researcher
 IT researcher
SSC Veteran
SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)SSC Veteran (294 reputation)

Group: General Forum Members
Points: 294 Visits: 1798
But that message is irritating as it comes every time.
John Mitchell-245523
John Mitchell-245523
SSCertifiable
SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)

Group: General Forum Members
Points: 7367 Visits: 15093
I'm sure it is. You'll either have to give db_owner access or speak to the vendor.

John
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search