ArnauCForgeFlow
c46475f056
[FIX] base_user_role: renamed wizard name and use active_ids
2024-01-25 15:40:25 +01:00
ArnauCForgeFlow
168272bec7
[ADD] base_user_role: added tests for group groups into a role
2024-01-25 11:53:48 +01:00
Sébastien Alix
a1004a8835
fixup! [FIX] base_user_role: Improve tests resiliency
2022-09-28 09:39:59 +02:00
Jairo Llopis
454fab074b
[FIX] base_user_role: Improve tests resiliency
...
These 2 tests were checking the exact set of groups a user should have.
If these tests are ran in a database where a module is previously installed which adds more groups to the base role, these exact group sets would be inexact, although the behavior that is being tested was actually properly working.
With this patch, basically I'm testing if the user contains the groups from the roles, not the exact role set expected. It should work in integration scenarios.
@Tecnativa TT20468
2022-08-31 14:17:41 +02:00
OCA-git-bot
d9a9b7e341
Merge PR #168 into 15.0
...
Signed-off-by dreispt
2022-08-11 07:22:36 +00:00
Kiril Vangelovski
69959a6bbf
[FIX] base_user_role: tests - include trans_implied_ids
...
The unlink tests miss to add `trans_implied_ids` which is accounted
for when reseting the groups.
2022-08-08 13:46:45 +02:00
SilvioC2C
bb01ed61de
FIX base_user_role: update tests
2022-05-27 12:03:43 +02:00
KevinKhao
ce0cf7cd8c
[FIX] base_user_role: remove multicompany functionality
2021-11-11 16:17:02 +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
Pierrick Brun
9fba116448
[IMP] make base_user_role_line company dependent
2021-11-11 16:14:48 +02:00
elicoidal
f77ef57875
Switch AGPL to LGPL license
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
Duc Dao
b2998937a0
[MIG] Update test cases for testing (unlink role and role line) to new api
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
Adrien Peiffer (ACSONE)
3fd5ddc4a4
[MIG] base_user_role: Port to 10.0
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