Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open point: Xavier Gillmann (Unlicensed) how to get the string for the rights and module name ? should we use the module configurations json ? will it support standard translation ?


Solution 1 to retrieve the role from other module:

when the mutation “getAvailableRole“ will called then a signal will be sent Signal_get_module_role, the listener of that signal should return a module role definition object

roles = []

Signal_get_module_role()

for signal_listener

roles .amend(signal_listener.return_value)

module role definition object:

module_name: str

module_label = List of ‘lan_code':’display for lang_code'

roles = list of:

'role_name': str

'role_value': int

‘role_label’: List of ‘lan_code':’display for lang_code'