Draft
Conversation
Document the minimal SQL Server permissions required to run the library, covering three scenarios: - Minimal runtime permissions (pre-installed schema with AutoInstallSchema=false) - Service Broker permissions for real-time notifications - Schema installation permissions (AutoInstallSchema=true) Addresses #11 Agent-Logs-Url: https://github.com/IntelliTect/IntelliTect.AspNetCore.SignalR.SqlServer/sessions/e6792205-855a-410a-858c-2f32e3296108 Co-authored-by: ascott18 <5017521+ascott18@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Document minimal SQL Server permissions in README
Document minimal SQL Server permissions
Apr 24, 2026
Verified all documented permissions against SQL Server 2022 in Docker: - Minimal runtime permissions (polling mode): SELECT/INSERT/DELETE on message tables + SELECT/UPDATE on id tables - verified each is individually necessary and collectively sufficient - Service Broker permissions: Updated to recommend db_owner role since SqlDependency needs CONTROL ON SCHEMA::dbo to manage its temporary Service Broker objects (queue, service, stored procedure) - Schema installation permissions: verified correct - AutoEnableServiceBroker permission: verified correct Agent-Logs-Url: https://github.com/IntelliTect/IntelliTect.AspNetCore.SignalR.SqlServer/sessions/e89277da-2d43-4215-a743-5700ccb78ff7 Co-authored-by: ascott18 <5017521+ascott18@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
db_ownerorCONTROL ON SCHEMA::dbobeyond individual grants