If you are creating a custom action you may want to temporarily ignore these permissions since you have such direct control over what the user sees already. It is easy to fix this by setting the secureDisplay parameter of the Dataface record to false.
E.g.
$record = df_get_record('people', array('personid'=>10));$record->secureDisplay = false;echo "First Name: ". $record->display('first_name');...
No comments:
Post a Comment