Fix footer permission check