Removed old legacy permission code - deprecated