Added missing permission checks