"rails g redactor:install --devise" generate migration with attribute user_id for asset model (and foreign key, if needed)
After, if attribute user_id available in asset(Picture or Document), only signed in users can upload files or can view only own uploaded files.
"rails g redactor:install --devise" generate migration with attribute user_id for asset model (and foreign key, if needed) After, if attribute user_id available in asset(Picture or Document), only signed in users can upload files or can view only own uploaded files.