ecp_mssql_revoke_privileges
Revoke specified DML privileges (SELECT, INSERT, UPDATE, DELETE, REFERENCES) from a database user in MSSQL, applying the change schema-wide on dbo to tighten access.
Instructions
Revoke privileges from a user on a database. Note: MSSQL's privilege model here is coarser than MySQL/Postgres - only these 5 DML permissions, applied schema-wide (SCHEMA::dbo), not per-table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| db_name | Yes | ||
| privileges | Yes | ||
| db_username | Yes |