Skip to content

v1.8.0

Compare
Choose a tag to compare
@index-git index-git released this 14 Dec 12:31
· 2662 commits to master since this release
44821e3

Upgrade requirements

  • Set environment variable LAYMAN_AUTHN_HTTP_HEADER_NAME that serves as a secret. Only combination of lowercase characters and numbers must be used for the value.
  • Set environment variable LAYMAN_PRIME_SCHEMA. It is the name of the DB schema, so it is subject to the restrictions given by PostgreSQL. We recommend value _prime_schema if possible.
  • Replace LAYMAN_AUTHZ_MODULE environment variable with GRANT_CREATE_PUBLIC_WORKSPACE and GRANT_PUBLISH_IN_PUBLIC_WORKSPACE. The following settings correspond best with behaviour of previously used LAYMAN_AUTHZ_MODULE:
    • LAYMAN_AUTHZ_MODULE=layman.authz.read_everyone_write_owner (variable to remove)
      • GRANT_CREATE_PUBLIC_WORKSPACE= (new variable)
      • GRANT_PUBLISH_IN_PUBLIC_WORKSPACE= (new variable)
    • LAYMAN_AUTHZ_MODULE=layman.authz.read_everyone_write_everyone (variable to remove)
      • GRANT_CREATE_PUBLIC_WORKSPACE=EVERYONE (new variable)
      • GRANT_PUBLISH_IN_PUBLIC_WORKSPACE=EVERYONE (new variable)
  • Change LAYMAN_CLIENT_VERSION to v1.4.1
    • If you are running Layman with development settings, run also make client-build.
  • Starting version 1.8, each user can have zero or one personal workspaces, not more (in other words, one Liferay account can be linked with zero or one personal workspaces). Layman automatically checks this at first start. If two workspace linked to single user are fond, they are reported and Layman initialization is stopped. In such case, choose which one of reported workspaces should be the only personal workspace of the user, delete authn.txt file from the other workspace, and restart layman. The other workspace becomes public.
  • If you are running Layman with development settings, run also make timgen-build.

Changes