nextcloud / forms

📝 Simple form & survey app for Nextcloud
https://apps.nextcloud.com/apps/forms
GNU Affero General Public License v3.0
316 stars 97 forks source link

chore: Refactor checking if user is allowed to edit the form #2335

Closed Chartman123 closed 3 days ago

codecov[bot] commented 4 days ago

Codecov Report

Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@13b1f00). Learn more about missing BASE report. Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2335 +/- ## ======================================= Coverage ? 36.26% Complexity ? 1011 ======================================= Files ? 70 Lines ? 3814 Branches ? 0 ======================================= Hits ? 1383 Misses ? 2431 Partials ? 0 ```
Chartman123 commented 3 days ago

Yes, I just searched where the two checks from getFormIfAllowed occured and replaced them with it :)