Skip to content

Remove extra query if not necessary for template permission check

Jérémie Pardou requested to merge fix-extra-query-for-template into develop

What is in this MR

This MR removes the extra query unecessary when we are not checking a template related permission.

How to test this MR

It's more a technical MR so check the test and the code.

Merge Request Checklist

  • changelog.md has been updated if required.
  • New/updated Premium/Enterprise features are separated correctly in the premium or enterprise folder
  • The latest Chrome and Firefox have been used to test any new frontend features
  • Documentation has been updated
  • Quality Standards are met
  • Performance: tables are still fast with 100k+ rows, 100+ field tables
  • The redoc API pages have been updated for any REST API changes
  • Our custom API docs are updated for changes to endpoints accessed via api tokens
  • The UI/UX has been updated following UI Style Guide
Edited by Jérémie Pardou

Merge request reports