moacode / craft-fab-permissions

Restrict access to fields and tabs for particular user groups across your Craft elements.
Other
16 stars 9 forks source link

feat: add compatibility with craft 3.7.27 #31

Closed eduardoalonsoalbella closed 2 years ago

eduardoalonsoalbella commented 2 years ago

Craft 3.2.27 changed the way tabs data is loaded, calling the method getLayoutsByIds in the Fields Service first, breaking this plugin.

This pull request, fixes the compatibility issue, while not pretty and might not be the best solution, it works

eduardoalonsoalbella commented 2 years ago

Better future proof approach here: https://github.com/moa-crypto/craft-fab-permissions/pull/32