From daac81e7f1d75de7e63f2bda9418365db2614a50 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Fri, 14 Nov 2008 02:15:25 +0000 Subject: [PATCH] Set default view/edit permissions git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@65915 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/SiteTree.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 158160b33..2e872b799 100644 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -80,8 +80,8 @@ class SiteTree extends DataObject { "ReportClass" => "Varchar", "Priority" => "Float", - "CanViewType" => "Enum('Anyone, LoggedInUsers, OnlyTheseUsers, Inherit', 'Anyone')", - "CanEditType" => "Enum('LoggedInUsers, OnlyTheseUsers, Inherit', 'OnlyTheseUsers')", + "CanViewType" => "Enum('Anyone, LoggedInUsers, OnlyTheseUsers, Inherit', 'Inherit')", + "CanEditType" => "Enum('LoggedInUsers, OnlyTheseUsers, Inherit', 'Inherit')", // Simple task tracking "ToDo" => "Text", @@ -123,8 +123,8 @@ class SiteTree extends DataObject { "ShowInMenus" => 1, "ShowInSearch" => 1, "Status" => "New page", - "CanViewType" => "Anyone", - "CanEditType" => "OnlyTheseUsers" + "CanViewType" => "Inherit", + "CanEditType" => "Inherit" ); static $has_one = array(