Commit Graph

35 Commits

Author SHA1 Message Date
Jesus Ramoneda
b7578b9034 [IMP] base_user_role: Adding alert in user when role is used 2024-06-21 20:28:00 +00:00
Raf Ven
8e44a19b47 [MIG] base_user_role: Migration to 17.0 2023-12-13 15:00:48 +01:00
Jérémy Didderen
952e152b68 base_user_role - add (copy) in order to allow the duplicate 2023-12-13 14:47:22 +01:00
Kevin.roche
0219bfd373 [IMP] base_user_role show rules and access 2023-12-13 14:47:22 +01:00
Arnaud Pineux
44a80fba23 [MIG] base_user_role: Migration to 16.0 2023-12-13 14:47:22 +01:00
GuillemCForgeFlow
7c1c812082 [13.0][FIX]base_user_role: Show active users on Users page 2023-12-13 14:47:22 +01:00
GuillemCForgeFlow
7d1ae6fc06 [13.0][FIX]base_user_role: Add compute_sudo 2023-12-13 14:47:22 +01:00
Daniel Reis
38b74caf44 [FIX] base_user_role: text on role Internal Notes was not saved 2023-12-13 14:47:22 +01:00
Elmeri Niemelä
2f41f88d35 [15.0][FIX] UserWarning: Field res.groups.trans_parent_ids should be declared with recursive=True 2023-12-13 14:47:22 +01:00
GuillemCForgeFlow
0d35909d4d [IMP]base_user_role: Groups-roles navigation 2023-12-13 14:47:22 +01:00
SilvioC2C
b765daa239 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
2023-12-13 14:47:22 +01:00
Tatiana Deribina
13b177cdf3 [MIG] base_user_role: Migration to 15.0 2023-12-13 14:47:22 +01:00
KevinKhao
9ec7832c0a [IMP] base_user_role: UX improvements 2023-12-13 14:47:22 +01:00
KevinKhao
6e2457d547 [FIX] base_user_role: remove multicompany functionality 2023-12-13 14:47:22 +01:00
Harald Panten
27b271d45d [IMP] base_user_role: Adding a new tab for user comments in roles form. 2023-12-13 14:47:22 +01:00
Sébastien BEAU
e08d2c9aad [IMP] Fix edition of role 2023-12-13 14:47:22 +01:00
Jesús Alan Ramos Rodríguez
0bec68b672 [MIG] base_user_role: Migration to 14.0 2023-12-13 14:47:22 +01:00
sebalix
a59018f618 [IMP] base_user_role: black, isort 2023-12-13 14:47:22 +01:00
sebalix
d5bce8eca4 [MIG] base_user_role: Migration to 13.0 2023-12-13 14:47:22 +01:00
Pierrick Brun
9dce977cfd FIX check_company 2023-12-13 14:47:22 +01:00
Pierrick Brun
aa1adbd9e3 [IMP] make base_user_role_line company dependent 2023-12-13 14:47:22 +01:00
Pierrick Brun
8990ad4b9d Make user_id and role_id required in base_user_role_line 2023-12-13 14:47:22 +01:00
Pierrick Brun
46ed58bc55 Revert "[FIX] Crash in base_user_role when role_id is not set on res.users.role.line"
This reverts commit b537941d5a2d1fcb3fbacc602124c1b3f6e1d495.
2023-12-13 14:47:22 +01:00
elicoidal
2a1fbb4d43 Switch AGPL to LGPL license 2023-12-13 14:47:22 +01:00
_tux
181e9d8f75 [10.0][UPD] base_user_role: Disabled Administrator user selection in notebook users line (#1170) 2023-12-13 14:47:22 +01:00
Jordi Ballester Alomar
0159b506d4 [base_user_role] improve performance by only adding/removing from a user
the groups that have changed with respecto the role.
2023-12-13 14:47:22 +01:00
Duc Dao
1928966e3c [MIG] base_user_role: Migration to 12.0 2023-12-13 14:47:22 +01:00
Benjamin Willig
1450a271e6 [IMP] Use default user to define default roles to create for a new user 2023-12-13 14:47:22 +01:00
sebalix
59be83c846 [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
2023-12-13 14:47:22 +01:00
Duc Dao
f5eabd5620 [MIG] base_user_role: Migration to 11.0 2023-12-13 14:47:22 +01:00
Benjamin Willig
2dabb00f14 [10.0][FIX] User group not updating when removing a user from the role view 2023-12-13 14:47:22 +01:00
Alexis de Lattre
b34ec33e4d [FIX] Crash in base_user_role when role_id is not set on res.users.role.line 2023-12-13 14:47:22 +01:00
Adrien Peiffer (ACSONE)
300dd73efa [MIG] base_user_role: Port to 10.0 2023-12-13 14:47:22 +01:00
sebalix
fb1c8098ca base_user_role - Set a default category to associated groups 2023-12-13 14:47:22 +01:00
Sébastien Alix
fc5ffce1a7 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
2023-12-13 14:47:22 +01:00