Add Demo user

This commit is contained in:
Anthony Stirling
2023-12-27 22:56:51 +00:00
parent 78da44ad83
commit 3911be0177
6 changed files with 16 additions and 6 deletions

View File

@@ -17,8 +17,10 @@ public enum Role {
WEB_ONLY_USER("ROLE_WEB_ONLY_USER", 0, 20),
INTERNAL_API_USER("STIRLING-PDF-BACKEND-API-USER", Integer.MAX_VALUE, Integer.MAX_VALUE);
INTERNAL_API_USER("STIRLING-PDF-BACKEND-API-USER", Integer.MAX_VALUE, Integer.MAX_VALUE),
DEMO_USER("ROLE_DEMO_USER", 100, 100);
private final String roleId;
private final int apiCallsPerDay;
private final int webCallsPerDay;