Searched refs:canUploadMedia (Results 1 – 6 of 6) sorted by relevance
93 if (!Auth::canUploadMedia($record->tree(), Auth::user())) {
64 if ($subtag === 'OBJE' && !Auth::canUploadMedia($tree, Auth::user())) {
86 'can_upload_media' => Auth::canUploadMedia($tree, Auth::user()),
126 'can_upload_media' => Auth::canUploadMedia($tree, Auth::user()),
575 public static function canUploadMedia(Tree $tree, UserInterface $user): bool function in Fisharebest\\Webtrees\\Auth
689 if (!Auth::canUploadMedia($this->tree, Auth::user())) {