fablabbcn / smartcitizen-api

The Smart Citizen Engine
https://developer.smartcitizen.me
GNU Affero General Public License v3.0
10 stars 4 forks source link

Bugfix/242 role mask checks #243

Closed timcowlishaw closed 1 year ago

timcowlishaw commented 1 year ago

This fixes #242 , role_masks are now [0,1] for citizen, [2,3,4] for researcher, and 5+ for admin.

I've also made the rack_attack throttling specs a bit more robust as they were failing intermittently.