Skip to content

Snippets access rights checking single file constraint

Mark Chao requested to merge 205628-single-file-constraint into master

What does this MR do?

Related to #205628

Validate git operations to snippet repositories, ensuring the end result is one single file only.

It will be invalid if repository is in the state of multiple files or no file at all.

Refactor: renames exec method to the common validate! method, which is the correct name for subclasses of BaseChecker.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports