Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleWebskin permission
application.security.checkPermission(webskin="displayPageStandard")

Upgrading from 4.0

Because security will be managed in a new structure a catch-22 situation exists when it comes to migrating the data:

  1. this script migrates pre 5.0 security data to the new structure
  2. to access the updates directory you have to log in
  3. login uses the new structure
  4. which is empty until this script migrates the security data

So a directory has been added to upgrades: "b410_security". As part of the upgrade to 4.1 this directory needs to be copied to the www directory of your project where access isn't restricted, loaded in a web browser, then deleted.

All users and groups are migrated to the FarcryUD user directory, and policy groups / permissions are migrated to the new role and permission content types. Note that by default administration roles are granted access to all webskins, but anonymous only has access to display* and execute*.