mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-31 03:20:28 -04:00
Similar to how we can restrict routes to only users with a given permission, this new decorator lets us restrict routes to services that have a given permission. Having this is a decorator is cleaner than putting if statements inside the endpoint code.