Fixed permission constants not being defined in the setup page.