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
This commit is contained in:
Sam Minnee 2008-11-14 02:15:25 +00:00
parent 6463503082
commit daac81e7f1

View File

@ -80,8 +80,8 @@ class SiteTree extends DataObject {
"ReportClass" => "Varchar", "ReportClass" => "Varchar",
"Priority" => "Float", "Priority" => "Float",
"CanViewType" => "Enum('Anyone, LoggedInUsers, OnlyTheseUsers, Inherit', 'Anyone')", "CanViewType" => "Enum('Anyone, LoggedInUsers, OnlyTheseUsers, Inherit', 'Inherit')",
"CanEditType" => "Enum('LoggedInUsers, OnlyTheseUsers, Inherit', 'OnlyTheseUsers')", "CanEditType" => "Enum('LoggedInUsers, OnlyTheseUsers, Inherit', 'Inherit')",
// Simple task tracking // Simple task tracking
"ToDo" => "Text", "ToDo" => "Text",
@ -123,8 +123,8 @@ class SiteTree extends DataObject {
"ShowInMenus" => 1, "ShowInMenus" => 1,
"ShowInSearch" => 1, "ShowInSearch" => 1,
"Status" => "New page", "Status" => "New page",
"CanViewType" => "Anyone", "CanViewType" => "Inherit",
"CanEditType" => "OnlyTheseUsers" "CanEditType" => "Inherit"
); );
static $has_one = array( static $has_one = array(