Skip to content

Commit

Permalink
Release 7.2.1
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Belloy <p.belloy@axelor.com>
  • Loading branch information
pbe-axelor committed Oct 17, 2024
1 parent b763aea commit 4383d1d
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 68 deletions.
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,76 @@
## 7.2.1 (2024-10-17)

#### Feature

* Fix search bar value duplicated in other quick menus
* Always show tenant selection for non-hosts resolved tenants
* TagSelect x-color-field attribute is now compatible with hexadecimal color values
* Add /files/data-export?fileName and /files/report?link endpoints

<details>

Add files endpoints accepting filename as query param instead of path param.

This ensures URIs are ASCII only, complying with Shiro InvalidRequestFilter.

Files endpoints using filename as path param are kept for backward compatibility and may be removed
in later versions.

</details>

#### Change

* Re-enable Shiro global filters

<details>

Shiro global filters are re-enabled, now that our endpoints comply with
Shiro InvalidRequestFilter (ASCII-only URIs).

User endpoints also need to make sure they use ASCII-only characters in URI.

</details>

#### Fix

* Fix version issue in editable m2m grid
* Fix ColorPicker popper to work even with invalid values
* Fix tenant selection at login when hosts are not specified

<details>

Session may exist even if user is not logged in.
Tenant specified from login request should override any session tenant.

</details>

* Fix data-description not translated on enum/selection
* Fix restore items state on save in form view
* Invalidate session when tenant becomes inactive
* Fix skip view dirty on editable m2m grid changes

#### Security

* Always rely on codes when fetching user from profile

<details>

Any extends of `com.axelor.auth.pac4j.AuthPac4jUserService.getUser` should takes
care to rely on fetch users by code only (instead of fetching by code and email).

In case your application use SSO authentication, a carefully review is needed.
As we now rely on users codes to retrieve users, make sure the users codes match
the user profile username or email provided by the identity provider (we rely on
pac4j user profile mapping for this). For example, OpenID Connect providers commonly
use `preferred_username` claim as username,but for others such as Azure OpenID Connect
provider, it will use the `upn` claim as username. As fallback is will use the `email`
claim as email. In case of existing users codes not matching identity providers username
or email, it will not retrieve them and users will not be able to log in. Manually change
will be needed, by updating users codes with their email for example.

</details>


## 7.2.0 (2024-10-07)

#### Feature
Expand Down
10 changes: 0 additions & 10 deletions changelogs/unreleased/add-files-query-param-endpoints.yml

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/unreleased/fix-color-picker-default-value.yml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/unreleased/fix-tenant-invalidate-sesssion.yml

This file was deleted.

6 changes: 0 additions & 6 deletions changelogs/unreleased/fix-tenant-without-hosts.yml

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions changelogs/unreleased/fix-wrong-user.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/unreleased/improve-tenant-select.yml

This file was deleted.

This file was deleted.

0 comments on commit 4383d1d

Please sign in to comment.