fetchr icon indicating copy to clipboard operation
fetchr copied to clipboard

Internal middleware?

Open esamattis opened this issue 9 years ago • 1 comments

Are there any plans for internal fetchr middleware?

Use cases:

  • Unified error logging for all resources and methods
  • Access control: Allow update&create methods only for admin user, but allow read method for everybody

Now these have to be manually implemented for each resource or the services must be created using a custom service creator which wraps the methods functions.

esamattis avatar Mar 13 '15 10:03 esamattis

@epeli I think this is a great idea. I'm going to look into how we can do this in an extensible way and report back here.

Vijar avatar Jul 07 '15 01:07 Vijar