Skip to content

Commit

Permalink
chore: improve validation of owner
Browse files Browse the repository at this point in the history
When the owner isn't root or a sudoers and the owner of files is root,
don't is good to go ahead with this application. I implemented a
condition to check this scenario and return a feedback.

Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Oct 31, 2024
1 parent cc851cf commit bbe1bcd
Show file tree
Hide file tree
Showing 7 changed files with 1,270 additions and 4,645 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"behat/behat": "^3.12",
"phpunit/phpunit": "^9.5",
"behat/behat": "^3.15",
"phpunit/phpunit": "^10.5",
"roave/security-advisories": "dev-latest"
},
"scripts": {
Expand Down Expand Up @@ -48,6 +48,9 @@
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"platform": {
"php": "8.1"
}
}
}
Loading

0 comments on commit bbe1bcd

Please sign in to comment.