Page 1 of 1

PostPosted: Tue Nov 28, 2006 11:05 am
by compudude86
ok, i just want to make the app read only, no access control or anything like that, how would i set that up?

PostPosted: Tue Nov 28, 2006 11:29 am
by shannah
Create a directory named 'conf' in your application's directory, and add a file named ApplicationDelegate.php with the following contents:

Code: Select all
class conf_ApplicationDelegate {
  function getPermissions(&$record){
    return Dataface_PermissionsTool::READ_ONLY();
  }
}
?>

PostPosted: Thu Dec 07, 2006 11:41 am
by compudude86
thank you, that works great.