PostgreSQL に file_permissions テーブル(file_id, user_id, role)を用意する。
file_permissions
file_id
user_id
role