Lines Matching refs:Auth
245 $access_level ??= Auth::accessLevel($this->tree);
249 if ($access_level === Auth::PRIV_HIDE) {
281 if (Auth::isManager($this->tree)) {
288 return Auth::isEditor($this->tree) && !$locked;
296 if ($access_level === Auth::PRIV_HIDE) {
622 $access_level ??= Auth::accessLevel($this->tree);
689 if (!Auth::canUploadMedia($this->tree, Auth::user())) {
814 foreach ($this->facts([], false, Auth::PRIV_HIDE, true) as $fact) {
844 'user_id' => Auth::id(),
849 if (Auth::user()->getPreference(UserInterface::PREF_AUTO_ACCEPT_EDITS) === '1') {
894 'user_id' => Auth::id(),
901 if (Auth::user()->getPreference(UserInterface::PREF_AUTO_ACCEPT_EDITS) === '1') {
929 'user_id' => Auth::id(),
934 if (Auth::user()->getPreference(UserInterface::PREF_AUTO_ACCEPT_EDITS) === '1') {
1107 …) === $this->tree->getUserPreference(Auth::user(), UserInterface::PREF_TREE_ACCOUNT_XREF) && $acce…
1118 return Auth::PRIV_NONE >= $access_level;
1121 return Auth::PRIV_USER >= $access_level;
1135 if (Auth::PRIV_NONE >= $access_level) {
1167 $author = Auth::user()->userName();