Adding a user for a plugin

Added by Seppe Stas over 1 year ago

I'm developing a Remine plugin that adds journals to issues. Currently I use the Anonymous user as the user associated with the journal, but I would like my plugin to create and use it's own user.

What is the best way to accomplish this?

Do I create the user using:
- a standard database migration?
- a migration that acts on the user model (not sure if this works)?
- my plugin's controller?

Are there any setting I should look into to make sure my user can't be used to log in? What does the "status" flag mean?