Tablefy row permissions

This alters tables to determine permissions on each row individually, instead of on a per-view basis.