In addition to the “anonymous” author there will also be cases where a work available in the public domain or in creative commons might be used for a new textile, especially early on (...or for a while...) when the user base for sourcing works is still thin. In that case, many works will have authors that don’t have associated accounts.
The account page has to support these scenarios, by showing the username, the bio as “This user does not have an account”, the full contributions list, but hide everything else.
The database also has to support anonymous accounts, by adding an anonymous field to the people table. This also means that the work.author field should be a foreign key of people.username; all authors point to user accounts, but some can have people.anonymous=1. This prevents people from stealing anonymous accounts through registration.
In addition to the “anonymous” author there will also be cases where a work available in the public domain or in creative commons might be used for a new textile, especially early on (...or for a while...) when the user base for sourcing works is still thin. In that case, many works will have authors that don’t have associated accounts.
The account page has to support these scenarios, by showing the username, the bio as “This user does not have an account”, the full contributions list, but hide everything else.
The database also has to support anonymous accounts, by adding an
anonymous
field to the people table. This also means that thework.author
field should be a foreign key ofpeople.username
; all authors point to user accounts, but some can havepeople.anonymous=1
. This prevents people from stealing anonymous accounts through registration.