Jul 16 - Fill the gaps between Single-tenant mode and Multi-tenant mode
This commit is contained in:
@@ -92,6 +92,7 @@ class UserForm(FlaskForm):
|
||||
('director', 'Director'),
|
||||
('inspector', 'Inspector'),
|
||||
('project_manager', 'Project Manager'),
|
||||
('auditor', 'Auditor'),
|
||||
# 'customer' is intentionally excluded — customer accounts are managed via /customers
|
||||
], validators=[Optional()])
|
||||
# NOTE: Optional() here because directors submit no role value (the field is
|
||||
|
||||
Reference in New Issue
Block a user