In My Organization we are planned to imlement a role based security.I created a one role . Role name is called "Developer".Under this role i created two users.I use follwing Statement.
Step 1 : Create the Role
CREATE ROLE [Evaluationrole]
GRANT insert to Evaluationrole
GRANT update to Evaluationrole
GRANT delete to Evaluationrole
Grant create stored Procedure to Evaluationrole
GRANT EXECUTE TO Evaluationrole
GRANT VIEW DEFINITION TO Evaluationrole
CREATE LOGIN [dvsuser] WITH PASSWORD=N'dvsuser', DEFAULT_DATABASE=[master], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
Step 5 :
CREATE USER [dvsuser] FOR LOGIN [dvsuser]
EXEC sp_addrolemember N'Evaluationrole', N'dvsuser'
Here in this user Create stored Procedure and execute the stored procedure every thisk working file. but I am facing Problem in Trigger. For Example Any table I am having "Delete" trigger means, that time that table records not allow to delete the records. I am facing follwing Error
The user does not have permission to perform this action.
Please Give me a solution . I want this user execute the trigger also.