userPermissionOnPage); return $permission->get($this->table ? Permission::PAGE_DELETE : Permission::CONTENT_EDIT); } /** * True if a record has been saved */ public function isSavedRecord(): bool { return $this->command !== 'new' && $this->table !== '' && MathUtility::canBeInterpretedAsInteger($this->uid); } }