Commit Graph

32 Commits

Author SHA1 Message Date
Kevin.roche
49592e0c07 [IMP] base_user_role show rules and access 2024-10-21 08:09:18 +02:00
Arnaud Pineux
33d7c82a9b [MIG] base_user_role: Migration to 16.0 2024-10-21 08:09:18 +02:00
GuillemCForgeFlow
1f162b8bd3 [13.0][FIX]base_user_role: Show active users on Users page 2024-10-21 08:09:18 +02:00
GuillemCForgeFlow
d2f2794bc4 [13.0][FIX]base_user_role: Add compute_sudo 2024-10-21 08:09:18 +02:00
Daniel Reis
b1cd7ff966 [FIX] base_user_role: text on role Internal Notes was not saved 2024-10-21 08:09:18 +02:00
Elmeri Niemelä
4cee4101bf [15.0][FIX] UserWarning: Field res.groups.trans_parent_ids should be declared with recursive=True 2024-10-21 08:09:18 +02:00
GuillemCForgeFlow
ef316fa0f0 [IMP]base_user_role: Groups-roles navigation 2024-10-21 08:09:18 +02:00
SilvioC2C
6619cd3a6b FIX base_user_role: use `sudo() in user_ids` compute
When computing ``user_ids``, avoid AccessError due to multi-company
rules if the compute is triggered by an admin user
2024-10-21 08:09:18 +02:00
Tatiana Deribina
bcd732d3b8 [MIG] base_user_role: Migration to 15.0 2024-10-21 08:09:18 +02:00
KevinKhao
1ebf5aa2fd [IMP] base_user_role: UX improvements 2024-10-21 08:09:18 +02:00
KevinKhao
56b60058a7 [FIX] base_user_role: remove multicompany functionality 2024-10-21 08:09:18 +02:00
Harald Panten
340e5a9ac7 [IMP] base_user_role: Adding a new tab for user comments in roles form. 2024-10-21 08:09:18 +02:00
Sébastien BEAU
1bc5a8a518 [IMP] Fix edition of role 2024-10-21 08:09:18 +02:00
Jesús Alan Ramos Rodríguez
324fe8d97d [MIG] base_user_role: Migration to 14.0 2024-10-21 08:09:18 +02:00
sebalix
a67a8aa56a [IMP] base_user_role: black, isort 2024-10-21 08:09:18 +02:00
sebalix
10bcb1de3d [MIG] base_user_role: Migration to 13.0 2024-10-21 08:09:18 +02:00
Pierrick Brun
155a70e8e1 FIX check_company 2024-10-21 08:09:18 +02:00
Pierrick Brun
9bf77f52c3 [IMP] make base_user_role_line company dependent 2024-10-21 08:09:18 +02:00
Pierrick Brun
8cdda85cd7 Make user_id and role_id required in base_user_role_line 2024-10-21 08:09:18 +02:00
Pierrick Brun
ce61293878 Revert "[FIX] Crash in base_user_role when role_id is not set on res.users.role.line"
This reverts commit b537941d5a2d1fcb3fbacc602124c1b3f6e1d495.
2024-10-21 08:09:18 +02:00
elicoidal
fc347013f1 Switch AGPL to LGPL license 2024-10-21 08:09:18 +02:00
_tux
c3c88252de [10.0][UPD] base_user_role: Disabled Administrator user selection in notebook users line (#1170) 2024-10-21 08:09:18 +02:00
Jordi Ballester Alomar
48b77b2b07 [base_user_role] improve performance by only adding/removing from a user
the groups that have changed with respecto the role.
2024-10-21 08:09:18 +02:00
Duc Dao
da0197b6ef [MIG] base_user_role: Migration to 12.0 2024-10-21 08:09:18 +02:00
Benjamin Willig
2da61caa7c [IMP] Use default user to define default roles to create for a new user 2024-10-21 08:09:18 +02:00
sebalix
1c2d2c69d3 [FIX+IMP] base_user_role: Several things:
* FIX: Update users' groups when a role is deleted
* IMP: add some test cases to check user's groups when its last role line is removed
* FIX: ensure that the user's groups are updated when its last role line is removed
2024-10-21 08:09:18 +02:00
Duc Dao
185d344943 [MIG] base_user_role: Migration to 11.0 2024-10-21 08:09:18 +02:00
Benjamin Willig
29362f154d [10.0][FIX] User group not updating when removing a user from the role view 2024-10-21 08:09:18 +02:00
Alexis de Lattre
f983522300 [FIX] Crash in base_user_role when role_id is not set on res.users.role.line 2024-10-21 08:09:18 +02:00
Adrien Peiffer (ACSONE)
575014d391 [MIG] base_user_role: Port to 10.0 2024-10-21 08:09:18 +02:00
sebalix
3df52a1d07 base_user_role - Set a default category to associated groups 2024-10-21 08:09:18 +02:00
Sébastien Alix
7f54d56042 8.0 - New module 'base_user_role' to manage user roles efficiently (#608)
* [ADD] New module 'base_user_role'

* [FIX] base_user_role - Review

* [FIX] base_user_role - Review s/is_active/is_enabled/

* [FIX] base_user_role - Review s/is_active/is_enabled/

* [IMP] base_user_role - Translations updated (template + FR)

* [FIX] base_user_role - Lint
2024-10-21 08:09:18 +02:00