Ensures that only users with "manage all forms" privilege can view the "upload" and "view-templates" pages. Previously the page would start to load and then throw an Access Control Error. These changes now short circuit the page load.
Unresolved questions / Out of scope | Questions non résolues ou hors sujet
Are there any related issues or tangent features you consider out of scope for
this issue that could be addressed in the future? If so please create issues and provide
links in this section
Pull Request Checklist
Please complete the following items in the checklist before you request a review:
[ ] Have you completely tested the functionality of change introduced in this PR? Is the PR solving the problem it's meant to solve within the scope of the related issue?
[ ] The PR does not introduce any new issues such as failed tests, console warnings or new bugs.
[ ] If this PR adds a package have you ensured its licensed correctly and does not add additional security issues?
[ ] Is the code clean, readable and maintainable? Is it easy to understand and comprehend.
[ ] Does your code have adequate comprehensible comments? Do new functions have docstrings?
[ ] Have you modified the change log and updated any relevant documentation?
[ ] Is there adequate test coverage? Both unit tests and end-to-end tests where applicable?
[ ] If your PR is touching any UI is it accessible? Have you tested it with a screen reader? Have you tested it with automated testing tools such as axe?
Summary | Résumé
Ensures that only users with "manage all forms" privilege can view the "upload" and "view-templates" pages. Previously the page would start to load and then throw an Access Control Error. These changes now short circuit the page load.
Unresolved questions / Out of scope | Questions non résolues ou hors sujet
Are there any related issues or tangent features you consider out of scope for this issue that could be addressed in the future? If so please create issues and provide links in this section
Pull Request Checklist
Please complete the following items in the checklist before you request a review: