From 03d0311618267cf0b16445161c4d275749d64a5e Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 7 Oct 2009 21:40:05 -0700 Subject: Implement a user::is_writable() API method and disable the user add, updates and display if the Identity driver does not support writes. This is set in the config.identity.php --- modules/gallery/config/identity.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/gallery/config/identity.php') diff --git a/modules/gallery/config/identity.php b/modules/gallery/config/identity.php index f2064127..72d1b589 100644 --- a/modules/gallery/config/identity.php +++ b/modules/gallery/config/identity.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* - * @package User + * @package Identity * * User settings, defined as arrays, or "groups". If no group name is * used when loading the cache library, the group named "default" will be used. @@ -32,5 +32,6 @@ */ $config["default"] = array ( "driver" => "gallery", + "allow_updates" => false, "params" => array(), ); -- cgit v1.2.3