Skip to content

Commit

Permalink
Improve wording for Gafaelfawr UID assignment
Browse files Browse the repository at this point in the history
Make it clear that Gafaelfawr UID assignment requires Firestore be
configured.
  • Loading branch information
rra committed Jun 14, 2022
1 parent 33296cf commit 78368b2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/mobu/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand All @@ -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,
)
Expand Down

0 comments on commit 78368b2

Please sign in to comment.