Commit Graph

17 Commits

Author SHA1 Message Date
Guillaume Pothier
e50159af4e Use kwargs in with_context, as per pre-commit recommendation 2023-06-21 17:21:41 -04:00
Guillaume Pothier
35711f27da Add test for the create role from user wizard 2023-06-21 17:10:43 -04:00
Kiril Vangelovski
84029e18de [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-10-04 10:09:13 +02:00
SilvioC2C
15334904b2 FIX base_user_role: update tests 2022-10-04 10:09:13 +02:00
KevinKhao
b2848fc636 [FIX] base_user_role: remove multicompany functionality 2022-10-04 10:09:13 +02:00
Sébastien BEAU
638fab8a3d [IMP] Fix edition of role 2022-10-04 10:09:13 +02:00
Jesús Alan Ramos Rodríguez
4e4c257a18 [MIG] base_user_role: Migration to 14.0 2022-10-04 10:09:13 +02:00
sebalix
f6ded0c73a [IMP] base_user_role: black, isort 2022-10-04 10:09:13 +02:00
Pierrick Brun
dcdc2b3c5f [IMP] make base_user_role_line company dependent 2022-10-04 10:09:13 +02:00
elicoidal
fc5948b30a Switch AGPL to LGPL license 2022-10-04 10:09:13 +02:00
Duc Dao
d844232ef0 [MIG] base_user_role: Migration to 12.0 2022-10-04 10:09:13 +02:00
Benjamin Willig
27ad268134 [IMP] Use default user to define default roles to create for a new user 2022-10-04 10:09:13 +02:00
Duc Dao
50addf9564 [MIG] Update test cases for testing (unlink role and role line) to new api 2022-10-04 10:09:13 +02:00
sebalix
d15ddff37d [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
2022-10-04 10:09:13 +02:00
Duc Dao
9ba86a866a [MIG] base_user_role: Migration to 11.0 2022-10-04 10:09:13 +02:00
Adrien Peiffer (ACSONE)
5b1fa994c4 [MIG] base_user_role: Port to 10.0 2022-10-04 10:09:13 +02:00
Sébastien Alix
109b814cd3 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
2022-10-04 10:09:13 +02:00