Skip to content

Add option to ignore scripting permissions in sqlct.config.json #58

Description

@zacateras

Add a new feature to allow users to ignore scripting of database object permissions via an option in the sqlct.config.json configuration file (for example, "ignorePermissions": true).

  • When enabled, permission-related statements (e.g., GRANT, DENY, REVOKE) should be omitted from the generated output.
  • By default, permissions should be scripted to match the source database unless the ignore option is set in the configuration.
  • Update documentation, the sample config, and schema to reflect this new option.
  • Add appropriate unit and integration tests to verify config-driven control of permission scripting.

Acceptance Criteria:

  • Permissions are scripted by default unless disabled via the config file.
  • Suppressing permission scripting via the config file works for all supported object types.
  • Documentation and config help reflect this option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions