Actually use the permissions the database stores.