feature/implementacion de hub en EFC
This commit is contained in:
@@ -25,6 +25,9 @@ class CustomUser(AbstractUser):
|
||||
is_importador = models.BooleanField(default=False, help_text="Indicates if the user is an importer")
|
||||
rfc = models.ManyToManyField('customs.Importador', blank=True, related_name='users', help_text="RFCs de importadores asociados al usuario")
|
||||
|
||||
# Identidad Keycloak — se llena con el script de migración masiva
|
||||
keycloak_user_id = models.CharField(max_length=36, null=True, blank=True, unique=True, help_text="UUID del usuario en Keycloak/Hub")
|
||||
|
||||
def __str__(self):
|
||||
return self.username
|
||||
|
||||
|
||||
Reference in New Issue
Block a user