Skip to content

Commit

Permalink
Rename legacy admin siteaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Jan 3, 2018
1 parent 8db9030 commit 321280f
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app/config/ezplatform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ ezpublish:

# Siteaccess configuration, with one siteaccess per default
siteaccess:
list: [site, admin]
list: [site, admin, legacy_admin]
groups:
site_group: [site]

# WARNING: Do not remove or rename this group.
# It's used to distinguish common siteaccesses from admin ones.
# In case of multisite with multiple admin panels, remember to add any additional admin siteaccess to this group.
admin_group: [admin]
admin_group: [admin, legacy_admin]
default_siteaccess: site
match:
URIElement: 1
Expand Down Expand Up @@ -58,5 +58,5 @@ ezpublish:

ez_publish_legacy:
system:
admin:
legacy_admin:
legacy_mode: true
3 changes: 0 additions & 3 deletions ezpublish_legacy/config.php

This file was deleted.

4 changes: 2 additions & 2 deletions ezpublish_legacy/settings/override/site.ini.append.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
DefaultAccess=site
SiteList[]
SiteList[]=site
SiteList[]=admin
SiteList[]=legacy_admin
RootNodeDepth=1
[UserSettings]
Expand All @@ -26,7 +26,7 @@
CheckValidity=false
AvailableSiteAccessList[]
AvailableSiteAccessList[]=site
AvailableSiteAccessList[]=admin
AvailableSiteAccessList[]=legacy_admin
MatchOrder=uri
HostMatchMapItems[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
RequireUserLogin=true
RelatedSiteAccessList[]
RelatedSiteAccessList[]=site
RelatedSiteAccessList[]=admin
RelatedSiteAccessList[]=legacy_admin
ShowHiddenNodes=true
[DesignSettings]
Expand Down

0 comments on commit 321280f

Please sign in to comment.