issues
search
aleinin
/
game-of-the-year
Frontend and Backend for TMW discord's yearly Game of the Year vote
MIT License
2
stars
1
forks
source link
add basic endpoint security, secure put properties
#50
Closed
aleinin
closed
1 year ago
aleinin
commented
1 year ago
What Changed?
Added spring-security
By default, all endpoints are unsecured
Some endpoints require role "ADMIN". ADMIN role is assigned if credentials are provided that match the goty.admin.username and goty.admin.password (by default assigned by env variable)
PUT /properties/ secured
Updated tests accordingly
closes #47
What Changed?
closes #47