Hi!
You have to configure a role in the module and a role in your project security..
If you have done this, you can combine the project role and module role in your project security.
More information about security: https://gettingstarted.mendixcloud.com/link/module/96/lecture/787
See this screenshot: