spz-signup / spz-signup-app

MIT License
0 stars 1 forks source link

Use a custom decorator to check the users role #22

Open urvdp opened 2 months ago

urvdp commented 2 months ago

As an improvement for later: we could use a custom decorator which check the users role, see https://www.freecodecamp.org/news/python-decorators-explained-with-examples/

_Originally posted by @tobiasdierich in https://github.com/spz-signup/spz-signup-app/pull/21#discussion_r1597606226_