how to make app read only

Archived from the Xataface Users forum.

compudude86 — Tue Nov 28, 2006 11:05 am

ok, i just want to make the app read only, no access control or anything like that, how would i set that up?


shannah — Tue Nov 28, 2006 11:29 am

Create a directory named ‘conf’ in your application’s directory, and add a file named ApplicationDelegate.php with the following contents:

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

compudude86 — Thu Dec 07, 2006 11:41 am

thank you, that works great.