ezcommunity / ezupgrade

GNU General Public License v2.0
10 stars 3 forks source link

Default siteaccess group #37

Open fredriktid opened 11 years ago

fredriktid commented 11 years ago

eZUpgrade will promt the user for a "siteaccess group name" since this is used in the new configuration system. However, this may be confusing to new users so it should probably generate a generic group name by default (e.g. "default"), with an option to override this name in the settings.

andrerom commented 11 years ago

It could also try to detect it based on the siteaccess names, for many years eZ Publish has generated siteaccess names like: "package"_site "package"_site_admin eng fre ger nor

So in that case the group name could be proposed to be: "package"_site

fredriktid commented 11 years ago

A good suggestion. So if a group name is not found in the settings, it should look for siteaccesses on the form "_site", with a final fallback to a generic name.