Showing posts with label developers. Show all posts
Showing posts with label developers. Show all posts

Monday, March 26, 2012

Permissions to use SQLProfiler

Hi Friends...
I have some developers that need to use the SQLProfile to analyze some
queries, i dont want to grant them SA priveledges, so, what kind of
permissions needs these users?
Thanks allCan't do in 2000, I'm afraid. Need sysadmin. In 2005, you can grant permissi
ons to use profiler.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Tinchos" <Tinchos@.discussions.microsoft.com> wrote in message
news:EEF2D9D2-3EF4-434D-9AD2-FC26CD2A87CE@.microsoft.com...
> Hi Friends...
> I have some developers that need to use the SQLProfile to analyze some
> queries, i dont want to grant them SA priveledges, so, what kind of
> permissions needs these users?
> Thanks all

Permissions to use SQLProfiler

Hi Friends...
I have some developers that need to use the SQLProfile to analyze some
queries, i dont want to grant them SA priveledges, so, what kind of
permissions needs these users?
Thanks all
Can't do in 2000, I'm afraid. Need sysadmin. In 2005, you can grant permissions to use profiler.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Tinchos" <Tinchos@.discussions.microsoft.com> wrote in message
news:EEF2D9D2-3EF4-434D-9AD2-FC26CD2A87CE@.microsoft.com...
> Hi Friends...
> I have some developers that need to use the SQLProfile to analyze some
> queries, i dont want to grant them SA priveledges, so, what kind of
> permissions needs these users?
> Thanks all

Permissions to use SQLProfiler

Hi Friends...
I have some developers that need to use the SQLProfile to analyze some
queries, i dont want to grant them SA priveledges, so, what kind of
permissions needs these users?
Thanks allCan't do in 2000, I'm afraid. Need sysadmin. In 2005, you can grant permissions to use profiler.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Tinchos" <Tinchos@.discussions.microsoft.com> wrote in message
news:EEF2D9D2-3EF4-434D-9AD2-FC26CD2A87CE@.microsoft.com...
> Hi Friends...
> I have some developers that need to use the SQLProfile to analyze some
> queries, i dont want to grant them SA priveledges, so, what kind of
> permissions needs these users?
> Thanks all

Friday, March 23, 2012

Permissions to read error log.

I want to give developers permission to read the error log on the production
server. How can I do this without making them Administrator or
Securityadmin?"Eric w" <ewientzek@.hotmail.com> wrote in message
news:OfqjBDn8EHA.3260@.TK2MSFTNGP14.phx.gbl...
> I want to give developers permission to read the error log on the
production
> server. How can I do this without making them Administrator or
> Securityadmin?
>
Since this is a text file, I'd suggest creating a share pointing to the
"LOG" folder (should be in "Program Files\Microsoft SQL Server\MSSQL\LOG" if
you took the default installation path). Allow the developers RX permission
to the NTFS layer of that folder.
Stevesql

permissions to deploy to one folder

I have created a staging folder in reporting services. The idea is to allow
developers to deploy to this folder only in order to test their reports and
to then have the dba's move the reports to the users' area.
Is it possible to give the developer group rights to deploy to this staging
folder only?Yes, just click on the properties tab for the desired folder and then the
secrurities tab. From here you can set the permission how you like.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"DBA72" <DBA72@.discussions.microsoft.com> wrote in message
news:679A12F5-45D5-465F-9BE9-7F0166A69BD6@.microsoft.com...
>I have created a staging folder in reporting services. The idea is to allow
> developers to deploy to this folder only in order to test their reports
> and
> to then have the dba's move the reports to the users' area.
> Is it possible to give the developer group rights to deploy to this
> staging
> folder only?

Permissions question

Hi,
I need to give access to a domain user group DOMAIN\Developers so that they
can ONLY start/stop SQL Jobs. Which is the best role to grant.
Thanks
Reddipermissions to run sp_stop_job and sp_start_job(msdb) plus permissions to
execute xp_sqlagent_enum_jobs(master) if accounts are not in sysadmins
and/or do not own the sqlagent jobs
"Reddi" <Reddi@.discussions.microsoft.com> wrote in message
news:2F34F361-C7B3-426B-AAC2-976E93039EC6@.microsoft.com...
> Hi,
> I need to give access to a domain user group DOMAIN\Developers so that
they
> can ONLY start/stop SQL Jobs. Which is the best role to grant.
> Thanks
> Reddi

Monday, March 12, 2012

permissions for developers not working after 2005 upgrade

Prior to our move to 2005...permissions were granted to developers by adding them to the following fixed database roles...db_ddladmin, db_datareader, db_datawriter, and db_securityadmin. They created their objects using 'dbo' as the owner.

After upgrading to 2005, suddently they are having difficulty accessing their objects with this same security. Do they need permissions on the dbo schema?

Can you please elaborate on the access difficulty? Are you encountering errors and, if yes, what are those errors? It would help if you could give us an example of some action that used to work and now doesn't, and of what is the system response in this case.

Thanks
Laurentiu

|||

They are making a connection through Visual Studio using the MS OLE DB Provider for SQL Server with their domain account and receiving the following error...

SELECT permission denied on object 'Contact_Info', database 'GetLean', schema 'dbo'.

|||

Could you check what is the current execution context at the time when this error is obtained? You can use Profiler to figure out what is the current execution context.

There are two possibilities:

(1) current execution context is not a member of db_datareader, so you do not have SELECT permission.

(2) current execution context is explicitly denied SELECT permission on the Contact_Info table.

If you determine the current execution context, then you can check whether it's a member of db_datareader by looking at the sys.database_role_members catalog. You can check for the SELECT permission being denied by looking at the sys.database_permissions catalog.

Thanks
Laurentiu

|||

They are a member of the db_datareader, db_datawriter, db_ddladmin, and db_securityadmin roles. There are no permissions explicitly denied in this database.

Even though they have db_datareader, db_datawriter, db_ddladmin, and db_securityadmin rights....must I still assign them to the dbo schema?

|||

db_datareader grants select on the entire database, hence on the dbo schema as well (http://msdn2.microsoft.com/en-us/library/ms189612.aspx). You don't need to do a special permission grant for the dbo schema.

Can you try a little experiment? Create a test table in the dbo schema and then verify if those members of db_datareader can access it. Also, create a separate schema and a table in it and see if there is the same behavior for it as for the dbo schema.

Also, does this happen for all those developers or only for some? If some of them were added to db_denydatareader role, then that would prevent them from selecting from anything. Are they members of other roles than those four that you mentioned?

Thanks
Laurentiu

|||

It turned out not to be a DBA problem. Sorry, should have posted the resolution earlier.

It turned out to be a developer issue...a combination of failing to practice current standards and inexperience with Visual Studio. Aargh!

Wednesday, March 7, 2012

Permission to see stored procs but not change or exec them?

In Server 2000, our developers can see our stored procs but not change them or run them. In 2005, our developers can not see them at all but claim they need to. I am new to 2005 and have not found a way to achieve this. I would like to grant them access to see the procs and read the code but not change it or execute it. Do you know how this can be done?

Thanks!

hi,

Grant "view definition" permission to user.

regards

sufian

Monday, February 20, 2012

Permission clarification - dbo vs domain\user.dbo

Our developers have been given dbcreator rights on the server and have dbo
rights for a given database. This is a slight change from what was
previously dolled out as rights on the database. When the developer create
s
a view, rather than the view being created as dbo.myview, it is created as
Domain\developername.dbo.myview. I am not sure this is what I want. Is
there a permission I can add that will allow the developer to create DBO onl
y
views on the given database?
--
Regards,
JamieBOL says:
The dbo is a user that has implied permissions to perform all activities in
the database. Any member of the sysadmin fixed server role who uses a
database is mapped to the special user inside each database called dbo.
Also, any object created by any member of the sysadmin fixed server role
belongs to dbo automatically.
For example, if user Andrew is a member of the sysadmin fixed server role
and creates a table T1, T1 belongs to dbo and is qualified as dbo.T1, not as
Andrew.T1. Conversely, if Andrew is not a member of the sysadmin fixed
server role but is a member only of the db_owner fixed database role and
creates a table T1, T1 belongs to Andrew and is qualified as Andrew.T1. The
table belongs to Andrew because he did not qualify the table as dbo.T1.
The dbo user cannot be deleted and is always present in every database.
Only objects created by members of the sysadmin fixed server role (or by the
dbo user) belong to dbo. Objects created by any other user who is not also a
member of the sysadmin fixed server role (including members of the db_owner
fixed database role):
a.. Belong to the user creating the object, not dbo.
b.. Are qualified with the name of the user who created the object.
"thejamie" <thejamie@.discussions.microsoft.com> wrote in message
news:051962BF-4DDA-4FDC-BF7B-C2B241C1E3DE@.microsoft.com...
> Our developers have been given dbcreator rights on the server and have dbo
> rights for a given database. This is a slight change from what was
> previously dolled out as rights on the database. When the developer
> creates
> a view, rather than the view being created as dbo.myview, it is created as
> Domain\developername.dbo.myview. I am not sure this is what I want.
> Is
> there a permission I can add that will allow the developer to create DBO
> only
> views on the given database?
> --
> Regards,
> Jamie