mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-28 11:42:28 +00:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
commit
0471b02472
44 changed files with 631 additions and 505 deletions
|
@ -54,7 +54,8 @@ public class SlotPage : BaseLayout
|
|||
}
|
||||
}
|
||||
|
||||
if (slot.Hidden && (this.User != slot.Creator && !(bool)this.User?.IsModerator)) return this.NotFound();
|
||||
if (slot.Hidden || slot.SubLevel && this.User == null && this.User != slot.Creator || !this.User!.IsModerator)
|
||||
return this.NotFound();
|
||||
|
||||
this.Slot = slot;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue