- Check for consent before allowing users to perform activities in the administrative app.
This commit is contained in:
@@ -347,7 +347,7 @@ class ConsentVersion(db.Model):
|
||||
updated_by = db.Column(db.Integer, db.ForeignKey('public.user.id'), nullable=True)
|
||||
|
||||
|
||||
class ConsentStatus(Enum):
|
||||
class ConsentStatus(str, Enum):
|
||||
CONSENTED = 'CONSENTED'
|
||||
NOT_CONSENTED = 'NOT_CONSENTED'
|
||||
RENEWAL_REQUIRED = 'RENEWAL_REQUIRED'
|
||||
|
||||
Reference in New Issue
Block a user