qgis / QGIS-Django

Django project for QGIS related activities such as plugin repository
http://qgis.org
GNU General Public License v2.0
86 stars 59 forks source link

Show review form for style managers #355

Closed Xpirix closed 4 months ago

Xpirix commented 4 months ago

Currently, only staff users can review (approve or reject) a style.

Changes summary

This PR is a fix to show the style review form for staff users and users in the Group Style Managers.

image

Requirements

In the administration panel, the permissions for that Group should be updated (Chosen permissions are empty):

image

codecov-commenter commented 4 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (a062b30) 36.08% compared to head (b075095) 36.06%.

Files Patch % Lines
qgis-app/base/views/processing_view.py 0.00% 1 Missing :warning:
qgis-app/styles/tests/test_views.py 0.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #355 +/- ## ========================================== - Coverage 36.08% 36.06% -0.02% ========================================== Files 111 111 Lines 4897 4899 +2 ========================================== Hits 1767 1767 - Misses 3130 3132 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.