code: public function getAll()
      {
          $permissions = $this->modules->getAllPermissions();
  
          $permissions = array_merge($permissions, $this->getCustom());
  
          return array_unique($permissions);
      }
docs: Returns a list of all permissions known by the CMS.
  
  @return string[]