Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Granter does not have GRANT permission
As a contract database application developer I created a SQL database 5 year
s
ago for a single PC use application. We recently upgraded to a multi-user
environment and I handed the database to the IT department which installed i
t
on one of their Servers. 3 user group levels were created, and I assigned
rights to all the objects according to the user-group needs. Everything
worked fine for all the users until I started adding new objects and assigne
d
rights to those objects. When users (that are not part of the group that has
dbo rights) now try to access any newly created object they get this message
:
"Granter does not have GRANT permission". The IT department SQL manager is
clueless and useless. I'm clueless too, but I need to find the solution. Any
and all suggestions are very much appreciated.
Thank you,
polarbear

Report this thread to moderator Post Follow-up to this message
Old Post
polabear
12-25-05 01:23 AM


Re: Granter does not have GRANT permission
That means the user running the GRANT command doesn't have permissions to
GRANT permissions on the object in question.  If I remember right, the
GRANTER must be an administrator or have been granted right from the WITH
GRANT OPTION of the GRANT statement.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"polabear" < polabear@spitzbergen
.com> wrote in message
news:1E70AF39-93F5-49AC-93F5- 198AB824B395@microso
ft.com...
> As a contract database application developer I created a SQL database 5
> years
> ago for a single PC use application. We recently upgraded to a multi-user
> environment and I handed the database to the IT department which installed
> it
> on one of their Servers. 3 user group levels were created, and I assigned
> rights to all the objects according to the user-group needs. Everything
> worked fine for all the users until I started adding new objects and
> assigned
> rights to those objects. When users (that are not part of the group that
> has
> dbo rights) now try to access any newly created object they get this
> message:
> "Granter does not have GRANT permission". The IT department SQL manager is
> clueless and useless. I'm clueless too, but I need to find the solution.
> Any
> and all suggestions are very much appreciated.
> Thank you,
> polarbear



Report this thread to moderator Post Follow-up to this message
Old Post
Roger Wolter[MSFT]
12-25-05 08:23 AM


Re: Granter does not have GRANT permission
Roger,
Thanks for the reply. I've been told by the IT person that my login is part
of the "System Adminstrators", so it sounds like somebody needs to add the
"WITH GRANT OPTION" to my login.
Thanks,
polarbear


"Roger Wolter[MSFT]" wrote:

> That means the user running the GRANT command doesn't have permissions to
> GRANT permissions on the object in question.  If I remember right, the
> GRANTER must be an administrator or have been granted right from the WITH
> GRANT OPTION of the GRANT statement.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
> "polabear" < polabear@spitzbergen
.com> wrote in message
> news:1E70AF39-93F5-49AC-93F5- 198AB824B395@microso
ft.com... 
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
polabear
12-25-05 02:23 PM


Re: Granter does not have GRANT permission
Hi

No, If you are a member of sysadmin server role you don't need  to add "WITH
GRANT OPTION of the GRANT statement"





"polabear" < polabear@spitzbergen
.com> wrote in message
news:C3F47EDB-FE22-45EE-B190- A3F17A39C678@microso
ft.com...
> Roger,
> Thanks for the reply. I've been told by the IT person that my login is
> part
> of the "System Adminstrators", so it sounds like somebody needs to add the
> "WITH GRANT OPTION" to my login.
> Thanks,
> polarbear
>
>
> "Roger Wolter[MSFT]" wrote:
> 



Report this thread to moderator Post Follow-up to this message
Old Post
Uri Dimant
12-25-05 02:23 PM


Re: Granter does not have GRANT permission
> When users (that are not part of the group that has
> dbo rights) now try to access any newly created object they get this
> message:
> "Granter does not have GRANT permission".

It seems your application is doing a bit more than simply accessing objects.
This message implies that users are attempting to GRANT permissions via your
application.  In that case, your users need the WITH GRANT.  Without that
permission, in order to grant permissions the user must either own the
object, be a db_owner role member, db_securityadmin role member, the
database owner or sysadmin role member.

--
Happy Holidays

Dan Guzman
SQL Server MVP

"polabear" < polabear@spitzbergen
.com> wrote in message
news:1E70AF39-93F5-49AC-93F5- 198AB824B395@microso
ft.com...
> As a contract database application developer I created a SQL database 5
> years
> ago for a single PC use application. We recently upgraded to a multi-user
> environment and I handed the database to the IT department which installed
> it
> on one of their Servers. 3 user group levels were created, and I assigned
> rights to all the objects according to the user-group needs. Everything
> worked fine for all the users until I started adding new objects and
> assigned
> rights to those objects. When users (that are not part of the group that
> has
> dbo rights) now try to access any newly created object they get this
> message:
> "Granter does not have GRANT permission". The IT department SQL manager is
> clueless and useless. I'm clueless too, but I need to find the solution.
> Any
> and all suggestions are very much appreciated.
> Thank you,
> polarbear



Report this thread to moderator Post Follow-up to this message
Old Post
Dan Guzman
12-25-05 06:23 PM


Re: Granter does not have GRANT permission
Im not much of an expert yet but it sounds to me that you are dealing with a
broken ownership chain on a view. From my understanding, this is messy to
resolve. The owner of each object n a view has to give permissions to their
view. The way you avoid these problems is when you are actually creating the
view, by making the DBO owner of everything, Instead of just saying create
view (name) AS you say create view dbo.(name) AS. Too late for this kind of
help I guess but at least if you are working with a view you have an idea of
what may be causing this.

--
Message posted via http://www.webservertalk.com

Report this thread to moderator Post Follow-up to this message
Old Post
Prospero via webservertalk.com
12-28-05 08:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:18 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006