From 78368b2f95ad279c8dab31cbbfa42e14c2a13e96 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 14 Jun 2022 08:25:19 -0700 Subject: [PATCH] Improve wording for Gafaelfawr UID assignment Make it clear that Gafaelfawr UID assignment requires Firestore be configured. --- src/mobu/models/user.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/mobu/models/user.py b/src/mobu/models/user.py index b31cfbdd..23c99338 100644 --- a/src/mobu/models/user.py +++ b/src/mobu/models/user.py @@ -19,7 +19,10 @@ class User(BaseModel): uidnumber: Optional[int] = Field( None, title="Numeric UID", - description="If omitted, ask Gafaelfawr to assign a UID", + description=( + "If omitted, Gafaelfawr will assign a UID. (Gafaelfawr UID" + " assignment requires Firestore be configured.)" + ), example=60001, ) @@ -39,7 +42,8 @@ class UserSpec(BaseModel): title="Starting UID", description=( "Users will be given consecutive UIDs starting with this. If" - " omitted, ask Gafaelfawr to assign UIDs." + " omitted, Gafaelfawr will assign UIDs. (Gafaelfawr UID assignment" + " requires Firestore be configured.)" ), example=60000, )