mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
d9e9e5f348
ENHANCEMENT Added LeftAndMain->canView() to check for logged-in member and CMS_ACCESS_* permissions in a testable way ENHANCEMENT Don't show "Reports" admin section if no subclasses of SSReport are found (or none of the existing subclasses returns a valid canView()) ENHANCEMENT Added CMSMenu::get_viewable_menu_items() and using it in LeftAndMain->MainMenu() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@68460 467b73ca-7a2a-4603-9d3b-597d59a354a9
35 lines
650 B
YAML
35 lines
650 B
YAML
Page:
|
|
page1:
|
|
Title: Page 1
|
|
page2:
|
|
Title: Page 2
|
|
page3:
|
|
Title: Page 2
|
|
page4:
|
|
Title: Page 2
|
|
home:
|
|
Title: Home
|
|
URLSegment: home
|
|
|
|
Group:
|
|
admin:
|
|
Title: Administrators
|
|
empty:
|
|
Title: Empty Group
|
|
assetsonly:
|
|
Title: assetsonly
|
|
Member:
|
|
admin:
|
|
Email: admin@example.com
|
|
Password: ZXXlkwecxz2390232233
|
|
Groups: =>Group.admin
|
|
assetsonlyuser:
|
|
Email: assetsonlyuser@test.com
|
|
Groups: =>Group.assetsonly
|
|
Permission:
|
|
admin:
|
|
Code: ADMIN
|
|
GroupID: =>Group.admin
|
|
assetsonly:
|
|
Code: CMS_ACCESS_AssetAdmin
|
|
GroupID: =>Group.assetsonly |