Skip to content

Commit 924ab8c

Browse files
zerox981mivano
authored andcommitted
Fixed the table-level restrictions sample (#215)
There was twice the same query. I guess the second one should be for changing the insert grant.
1 parent 64b9917 commit 924ab8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Ideally the `SerilogWriter` role would be restricted to the log table only, and
214214

215215
```
216216
GRANT SELECT ON [dbo].[SecuredLog] TO [SerilogWriter];
217-
GRANT SELECT ON [dbo].[SecuredLog] TO [SerilogWriter];
217+
GRANT INSERT ON [dbo].[SecuredLog] TO [SerilogWriter];
218218
```
219219

220220
There are many possible variations. For example, you could also create a logging-specific schema and restrict access that way.

0 commit comments

Comments
 (0)