OpenSPP / openspp-modules

OpenSPP Odoo modules
https://openspp.org
GNU Lesser General Public License v3.0
25 stars 10 forks source link

Restructure the spp_user_roles module to support dynamic setup of user roles by other modules #585

Open reichie020212 opened 1 week ago

reichie020212 commented 1 week ago

The OpenSPP User Roles module is currently set to depend on other modules for the setup of user roles. An issue is introduced by this setup considering that there is no flexibility in managing variations in access rights based on the implementation requirements. For example, the SP-MIS registrar role have a different access rights defined compared with the registrar role in the Farmer Registry. Since all modules in the spp_user_roles defined in its dependencies will be installed automatically, there is another issue of having modules not applicable for an implementation to be installed. This will result to conflicts with the modules installed.

The following are the requirements of this ticket:

reichie020212 commented 1 week ago

Estimate Dev Time:

Optimistic: 16 hours Pessimistic: 24 hours