creating different edit screens for different roles

Solved it for different edit pages for different roles.

In my method resposible for rendering the field I have:

if ( count( array_intersect( $allowed_editors, $user->roles ) ) < 1 )
   $readonly = 'readonly';

Which I later use to either set the input field as readonly or add/remove classes before rendering it.

Still working for the different columns, I’ll update when finished. I guess that this is more useful than just deleting my question… 😛

File not found.