SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Intellisense
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

laddu
Constraint Violating Yak Guru

USA
332 Posts

Posted - 12/11/2013 :  17:50:48  Show Profile  Reply with Quote
Hi,

We have given read-only access to user1 on one of the production database1

But today we found out from our third party monitoring tool that user’s adhoc query which is executing from SQL Management studio is blocked by some other process. And surprisingly user1 query is running on our main production database (this database is different than database1)

Just wondering what will be the root cause? user1 has read-only access to database1 only.

Is this SQL Intellisense issue? Any idea?
SQL Version is 2008 + SP3

Thanks in advance!

tkizer
Almighty SQL Goddess

USA
37287 Posts

Posted - 12/11/2013 :  18:08:36  Show Profile  Visit tkizer's Homepage  Reply with Quote
I am not understanding your issue. Could you re-word it?

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

lionofdezert
Aged Yak Warrior

Pakistan
885 Posts

Posted - 12/12/2013 :  02:09:59  Show Profile  Visit lionofdezert's Homepage  Send lionofdezert a Yahoo! Message  Reply with Quote
If you have given db_datareader rights for just one database, it is NOT possible that user can access other databases on instance. Revisit your user permissions.

--------------------------
http://connectsql.blogspot.com/
Go to Top of Page

jeffw8713
Aged Yak Warrior

USA
806 Posts

Posted - 12/12/2013 :  13:18:07  Show Profile  Reply with Quote
quote:
Originally posted by lionofdezert

If you have given db_datareader rights for just one database, it is NOT possible that user can access other databases on instance. Revisit your user permissions.

--------------------------
http://connectsql.blogspot.com/



Unless that user has been granted execute rights on a stored procedure that has access to the other database - with appropriate ownership chaining or certificate signing in place.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000