[DEV] Revert "[DEV] Move IsMountAllowed check to database"

This reverts commit 3feb6e6b0cb4940de17ffb348135cb1e96229c1b.

Signed-off-by: Salja <salja8840@gmail.com>