nextjs-corporate-starter icon indicating copy to clipboard operation
nextjs-corporate-starter copied to clipboard

Replace population middlewars with protected-populate plugin

Open Boegie19 opened this issue 2 years ago • 4 comments
trafficstars

Replace functionality page-populate-middleware.js with protected-populate plugin (currently only for the population part since I am not yet done with filters)

Boegie19 avatar Apr 21 '23 12:04 Boegie19

Just realized that this does not work since I don't have suport for api tokens aaa

correction it will work but that mean that we can't do role based stuff

Boegie19 avatar Apr 21 '23 21:04 Boegie19

Is there a simple way to dynamically extend the populate middleware when we add new components? I struggle to write the correct populate statements for newly created components

or should I create a PR for this? @PaulBratslavsky

KennyAtCodin avatar Aug 08 '23 12:08 KennyAtCodin

Still have to write a pr for my tool to make it work with api tokens after I done that I will open a pr to switch

Boegie19 avatar Aug 18 '23 00:08 Boegie19

@Boegie19 thanks for the update but once everything is ready would love to add your plugin to the starter.

PaulBratslavsky avatar Aug 29 '23 17:08 PaulBratslavsky