Commit Graph

33 Commits

Author SHA1 Message Date
Kevin.roche
b51db88254 [IMP] base_user_role show rules and access 2022-09-28 11:34:26 +02:00
OCA-git-bot
c966509f5b Merge PR #171 into 15.0
Signed-off-by sebalix
2022-08-11 12:37:06 +00:00
GuillemCForgeFlow
5b45c21945 [13.0][FIX]base_user_role: Show active users on Users page 2022-08-11 10:32:28 +02:00
GuillemCForgeFlow
7641925ef6 [13.0][FIX]base_user_role: Add compute_sudo 2022-08-11 10:32:28 +02:00
Daniel Reis
f6c470cfa5 [FIX] base_user_role: text on role Internal Notes was not saved 2022-08-11 10:30:44 +02:00
OCA-git-bot
d9a9b7e341 Merge PR #168 into 15.0
Signed-off-by dreispt
2022-08-11 07:22:36 +00:00
Elmeri Niemelä
24f8424f53 [15.0][FIX] UserWarning: Field res.groups.trans_parent_ids should be declared with recursive=True 2022-07-11 14:14:10 +03:00
GuillemCForgeFlow
b3e81ac559 [IMP]base_user_role: Groups-roles navigation 2022-06-20 14:03:11 +02:00
SilvioC2C
4aa5faf9d2 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
2022-05-27 11:52:43 +02:00
Tatiana Deribina
8f5517c9c1 [MIG] base_user_role: Migration to 15.0 2021-11-11 18:22:24 +02:00
KevinKhao
dff3af1c14 [IMP] base_user_role: UX improvements 2021-11-11 16:19:58 +02:00
KevinKhao
ce0cf7cd8c [FIX] base_user_role: remove multicompany functionality 2021-11-11 16:17:02 +02:00
Harald Panten
c47ee28c98 [IMP] base_user_role: Adding a new tab for user comments in roles form. 2021-11-11 16:14:48 +02:00
Sébastien BEAU
a8cf06b781 [IMP] Fix edition of role 2021-11-11 16:14:48 +02:00
Jesús Alan Ramos Rodríguez
0b32431380 [MIG] base_user_role: Migration to 14.0 2021-11-11 16:14:48 +02:00
sebalix
1d9d0b4255 [IMP] base_user_role: black, isort 2021-11-11 16:14:48 +02:00
sebalix
5fe8627d50 [MIG] base_user_role: Migration to 13.0 2021-11-11 16:14:48 +02:00
Pierrick Brun
ce8316ff49 FIX check_company 2021-11-11 16:14:48 +02:00
Pierrick Brun
9fba116448 [IMP] make base_user_role_line company dependent 2021-11-11 16:14:48 +02:00
Pierrick Brun
86651fa395 Make user_id and role_id required in base_user_role_line 2021-11-11 16:14:48 +02:00
Pierrick Brun
86524916a2 Revert "[FIX] Crash in base_user_role when role_id is not set on res.users.role.line"
This reverts commit b537941d5a2d1fcb3fbacc602124c1b3f6e1d495.
2021-11-11 16:14:48 +02:00
elicoidal
f77ef57875 Switch AGPL to LGPL license 2021-11-11 16:14:48 +02:00
_tux
a70150dc40 [10.0][UPD] base_user_role: Disabled Administrator user selection in notebook users line (#1170) 2021-11-11 16:14:48 +02:00
Jordi Ballester Alomar
d02e1f510a [base_user_role] improve performance by only adding/removing from a user
the groups that have changed with respecto the role.
2021-11-11 16:14:48 +02:00
Duc Dao
48831feac8 [MIG] base_user_role: Migration to 12.0 2021-11-11 16:14:48 +02:00
Benjamin Willig
338f70b6e4 [IMP] Use default user to define default roles to create for a new user 2021-11-11 16:14:48 +02:00
sebalix
50441f62da [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
2021-11-11 16:14:48 +02:00
Duc Dao
c7b5e7b268 [MIG] base_user_role: Migration to 11.0 2021-11-11 16:14:48 +02:00
Benjamin Willig
21a4b0de95 [10.0][FIX] User group not updating when removing a user from the role view 2021-11-11 16:14:48 +02:00
Alexis de Lattre
831fb36109 [FIX] Crash in base_user_role when role_id is not set on res.users.role.line 2021-11-11 16:14:48 +02:00
Adrien Peiffer (ACSONE)
3fd5ddc4a4 [MIG] base_user_role: Port to 10.0 2021-11-11 16:14:48 +02:00
sebalix
ad5ee071e4 base_user_role - Set a default category to associated groups 2021-11-11 16:14:48 +02:00
Sébastien Alix
435b626f6d 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
2021-11-11 16:14:48 +02:00