Hello!
I want to create user (test_user). This user has only these roles:
- execute all stored procedure
- create table
I use this script:
CREATE ROLE udb_user_role
GRANT EXECUTE TO udb_user_role
GRANT CREATE TABLE TO udb_user_role
GRANT ALTER ON SCHEMA::dbo TO udb_user_role
EXEC sp_addrolemember 'udb_user_role', 'test_user'
My problem: This user has DELETE table permission, DELETE procedure permission, etc.
Why? How to modify I my script?