improving ProjectMisc to work with permissions