Closed Floppy closed 11 years ago
Do we think this needs to be at the Panopticon level (so, when we set up a piece of content). It's metadata, so I guess yes. Also, does this need to be free text, or pick from a list of users? Do we also need things like a photo? (I guess we could use an email + gravatar for this)
Looking at what we already have, I think we need bios too.
I think we'll need a full-on Person model in odi_content_models, and use those for these relations.
Yeah, I thought we could use the Person model we already have
That'll let us have contact details, image, bio, and everything. They'll be listed under a node, and eventually we will have content aggregation for a particular author, so I think they need to be first-class objects, probably not completely related to signonotron users.
Oh, also, guest authors are a thing, so there's definitely a need for a proper Person model.
Oh, is there one already? Shiny.
Yup, this badboy:
https://github.com/theodi/odi_content_models/blob/master/app/models/person_edition.rb
I'm thinking further down the line (not now), that we could optionally associate a User with a Person, and also create a new Person when a new user is created too.
Sounds all very sensible. I forgot we had that already, feel free to ignore me completely, spamming up your comment thread.
Extend govuk code to assign authorship and attribution for some content types.