diff --git a/ReglerAddress.module.php b/ReglerAddress.module.php
index 08fb21e521be43324385cac682548408761185d4..961393b55fd5c449f176b4a25d1c91dcd24b56db 100644
--- a/ReglerAddress.module.php
+++ b/ReglerAddress.module.php
@@ -19,7 +19,7 @@
  * @since 1.0
  * @version 2015-09-02
  * @modifiedby $LastChangedBy: LA $
- * @lastmodified $Date:  2015-09-02$
+ * @lastmodified $Date:  2021-05-28$
  * @license GPL
  **/
 class ReglerAddress extends CMSModule
@@ -43,7 +43,7 @@ class ReglerAddress extends CMSModule
    * GetVersion()
    * @return string version number (can be something like 1.4rc1)
    */
-  function GetVersion()  { return '2015-09-02'; }
+  function GetVersion()  { return '2021-05-28'; }
   
   /**
    * GetHelp()
@@ -115,9 +115,18 @@ class ReglerAddress extends CMSModule
 
   /**
    * VisibleToAdminUser()
+   * If your module does have an Admin Panel, you
+   * can control whether or not it's displayed by the boolean
+   * that is returned by this method. This is primarily used
+   * to hide modules from admins who lack permission to use
+   * them.
+   * In this case, the module will only be visible to admins
+   * who have "Use ReglerAddress" permissions.
    * @return bool True if this module is shown to current user
    */
-  function VisibleToAdminUser()  { return True; }
+  function VisibleToAdminUser()  {
+    return $this->CheckPermission('Use ReglerAddress');
+  }
     
   /**
    * GetDependencies()
diff --git a/action.defaultadmin.php b/action.defaultadmin.php
index 2755e1575a0290f90365109aec8ba8d292989019..9a147e3ed4bda1b47c00b9117bcb223500fa8468 100644
--- a/action.defaultadmin.php
+++ b/action.defaultadmin.php
@@ -15,6 +15,12 @@
 if( !defined('CMS_VERSION') ) exit;
 //echo '<pre>'; print_r($params); echo '</pre>';
 
+if (! $this->CheckPermission('Use ReglerAddress')) {
+  return $this->DisplayErrorPage($id, $params, $returnid,
+                                 'ReglerAddress Access denied');
+}
+
+
 
 $canChangeRecord = $this->CheckPermission('Use ReglerAddress');
 /**