ogallagher / tejos_textiles

An online arts journal for publishing works in a new medium
MIT License
1 stars 0 forks source link

Accountless (anonymous) authors #45

Closed ogallagher closed 4 years ago

ogallagher commented 4 years ago

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.

ogallagher commented 4 years ago

The database should also disable authentication for any anonymous accounts.
EDIT: This is now done.

ogallagher commented 4 years ago

Anonymous accounts are now handled on the frontend as well.