Hello,
I am creating a module, and I am not very experienced at it, but I seem to understand it except for one aspect.
When I am creating the module, do I need to control the module visibility by checking if the user is in a role, or is that handled by the PortalModuleBase?
If I am supposed to manage that, what is the best practice for that, and where can I find a sample? Some tutorials hard code checking for admin, but that seems counter to the way DNN allows the admin or host to specify visibility based on role. Other tutorials don't handle it at all. That leaves me asking, "What is the right way?"
Thank you for your help.
Ben