Test for specifying permissions in multiple levels