Commit Graph

19 Commits

Author SHA1 Message Date
Etienne Ferriere
43dd2c2265 Corrected a bug on the attribution of the 'User roles' default application to a created user group on role creation. 2020-11-02 14:35:16 +01:00
sebalix
7615a99a18 [IMP] base_user_role: black, isort 2020-01-30 09:09:20 +01:00
sebalix
4f7df6ddf7 [MIG] base_user_role: Migration to 13.0 2020-01-29 10:57:23 +01:00
Pierrick Brun
9d77f5804e FIX check_company 2020-01-29 10:57:23 +01:00
Pierrick Brun
df80d597ed [IMP] make base_user_role_line company dependent 2020-01-29 10:57:23 +01:00
Pierrick Brun
9dde5333ed Make user_id and role_id required in base_user_role_line 2020-01-29 10:57:23 +01:00
Pierrick Brun
30bc37738c Revert "[FIX] Crash in base_user_role when role_id is not set on res.users.role.line"
This reverts commit b537941d5a2d1fcb3fbacc602124c1b3f6e1d495.
2020-01-29 10:57:23 +01:00
elicoidal
63b6e5a010 Switch AGPL to LGPL license 2020-01-29 10:57:23 +01:00
_tux
43d15f1321 [10.0][UPD] base_user_role: Disabled Administrator user selection in notebook users line (#1170) 2020-01-29 10:57:23 +01:00
Jordi Ballester Alomar
28658314c7 [base_user_role] improve performance by only adding/removing from a user
the groups that have changed with respecto the role.
2020-01-29 10:57:23 +01:00
Duc Dao
12ff9ff19d [MIG] base_user_role: Migration to 12.0 2020-01-29 10:57:23 +01:00
Benjamin Willig
21e541e979 [IMP] Use default user to define default roles to create for a new user 2020-01-29 10:57:23 +01:00
sebalix
8623e33952 [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
2020-01-29 10:57:23 +01:00
Duc Dao
fa789d314b [MIG] base_user_role: Migration to 11.0 2020-01-29 10:57:23 +01:00
Benjamin Willig
35e3b099c5 [10.0][FIX] User group not updating when removing a user from the role view 2020-01-29 10:57:23 +01:00
Alexis de Lattre
daa65abf91 [FIX] Crash in base_user_role when role_id is not set on res.users.role.line 2020-01-29 10:57:23 +01:00
Adrien Peiffer (ACSONE)
ed30c31fc8 [MIG] base_user_role: Port to 10.0 2020-01-29 10:57:23 +01:00
sebalix
f90dbddc47 base_user_role - Set a default category to associated groups 2020-01-29 10:57:23 +01:00
Sébastien Alix
9d4b1d2165 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
2020-01-29 10:57:23 +01:00