mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
6463503082
commit
daac81e7f1
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user