You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
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.
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
We started to strictly distinguish workspace as place, where publications are stored, and user as representation of person in Layman system. This change was reflected in following places:
In REST API documentation, username was replaced with workspace_name. It's not breaking change, as it's only naming of part of URL path.
Error messages and data, as well as Layman Test Client, also distinguishes workspace and user/username.
New parameters access_rights.read and access_rights.write added to POST Layers, PATCH Layer, POST Maps and PATCH Map requests. These new parameters are added to Test Client GUI.
Default values of access rights parameters (both read and write) of newly created publications are set to current authenticated user, or EVERYONE if published by anonymous.
#28 At first start of Layman, access rights of existing publications are set in following way:
#28 Only publications with read access for EVERYONE are published to Micka as public.
#28 New REST endpoint GET Users with list of all users registered in Layman. This new endpoint was added to Test Client into tab "Others".
#28WMS endpoint accepts same authentication credentials (e.g. OAuth2 headers) as Layman REST API endpoints. It's implemented using Layman's WFS proxy. This proxy authenticates the user and send user identification to GeoServer.