Use materialized category table for checking permissions