mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Added EDIT_PERMISSIONS permission code for SecurityAdmin
Added LeftAndMain::alternateAccessCheck() / alternateMenuDisplayCheck() so that subsite could hook a new security model into the admin Added support for Group::alternateTreeTitle() to allow subsites to put *s before global groups git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41098 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
87c8cb6661
commit
cb40b7e28a
@ -149,7 +149,8 @@ class Group extends DataObject {
|
||||
}
|
||||
|
||||
public function TreeTitle() {
|
||||
return $this->Title;
|
||||
if($this->hasMethod('alternateTreeTitle')) return $this->alternateTreeTitle();
|
||||
else return $this->Title;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user