ServiceBrokerListener icon indicating copy to clipboard operation
ServiceBrokerListener copied to clipboard

Permission not sufficient when broker or trustworthy not set

Open mniess opened this issue 7 years ago • 2 comments

If the ServiceBroker is not enabled or the database is not trustworthy, the permissions stated in code are not sufficient.

The SQL_FORMAT_INSTALL_SEVICE_BROKER_NOTIFICATION does not run successfully, because it trys to fisx these database settings. For this to execute the ALTER DATABASE permission is needed.

I suggest to remove the part that automatically trys to fix the database settings instead of instructing to grant ALTER DATABASE permission. It is not needed during normal execution.

Is there a reason other than convenience to have the settings adjusted automatically?

mniess avatar Dec 13 '18 12:12 mniess

@mniess the same problem(

if this field would not be a constant, i could change it value by reflection

predatorfromekb avatar Oct 13 '20 11:10 predatorfromekb

@dyatchenko can i create pull request?

predatorfromekb avatar Oct 13 '20 11:10 predatorfromekb