Last active
August 29, 2023 13:59
-
-
Save francium-lupe/31b6648b6279436568d961182729e143 to your computer and use it in GitHub Desktop.
Rental Car Platform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const requiredRoles = { | |
'/vehicle/lock-vehicle': new Set(['admin', 'manager', 'booked-user']), | |
'/vehicle/unlock-vehicle': new Set(['admin', 'manager', 'booked-user']), | |
'/vehicle/update': new Set(['admin', 'manager']), | |
'/vehicle/update-authorized-users': new Set(['admin']) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment