February 2, 2016 at 11:13 pm
Hi,
How to give a user to create table permission in a particular schema?
I tested by giving execute permission to the user on the schema and it didn't work
I tested by giving control/Alter permission to the user on the schema it is working but able to drop the table, which doesn't want
Any other way to achieve this?
February 3, 2016 at 7:05 am
You may need to use a specific Database Role for this requirement.
It could be worth trying this option suggested by Roi Gavish: http://dba.stackexchange.com/questions/21733/allow-user-to-do-anything-within-his-own-schema-but-not-create-or-drop-the-schem
I haven't tested it myself. Please let us know if it helps.
-Regards
February 3, 2016 at 9:54 pm
GRANT CREATE TABLE TO UserName
GRANT ALTER ON SCHEMA::AllowedSchema TO UserName
DENY ALTER ON SCHEMA::RestrictedSchema TO UserName
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply