prevent people without permissions from opening the tile, entityspawn, or decal menus (cherry picked from commit 2293f46bcac38c73a212fc34ee77d2839cd8558b)