I have a module that will list property entries. I want to restrict it so that when a BE user logs in, they can only see the entries author'd by them and when they create new entries to be them as the author automatically.
I can add an author field (similar to News), but then where do I add the code, and HOW do I restrict the listing, as it's controlled in the DC_Table.php? I think I can do a eval=>(root => array(1,10,16)) override, right? Retrieving the permission IDs (in an onload_callback)
Then I just have to force the Author field to be the current user ID only (if not admin).
Bookmarks