Design Hierarchical Permission Checks | Pinterest Coding Question