SenseNet / sensenet

Open Source Content Services Platform written in .NET
https://sensenet.com
GNU General Public License v2.0
173 stars 111 forks source link

SearchServer incomplete security after clean installation #2035

Closed kavics closed 4 months ago

kavics commented 5 months ago

PROBLEM The installation process with SearchServer starts the following base steps:

  1. Create database
  2. Start SearchServer
  3. Start the first sensenet web app node

When the SearchServer starts, there is no security information (entities, memberships, etc,) because they have not been installed yet. The log:

Start   Security initial loading.
        Entities loaded. Count: 0
        ACLs loaded. Count: 0
        ACLs built. Count: 0
        Groups loaded. Count: 0
        Convert flattened structure
        User flattening finished. Count: 0
End ... Security initial loading.

SOLUTION After installation, SearchServer should be notified and it needs to reload the security structure.