diff --git a/Moonlight/App/Extensions/Attributes/RequirePermissionAttribute.cs b/Moonlight/App/Extensions/Attributes/RequirePermissionAttribute.cs
new file mode 100644
index 0000000..e6d6db4
--- /dev/null
+++ b/Moonlight/App/Extensions/Attributes/RequirePermissionAttribute.cs
@@ -0,0 +1,20 @@
+using Moonlight.App.Models.Enums;
+
+namespace Moonlight.App.Extensions.Attributes;
+
+public class RequirePermissionAttribute : Attribute
+{
+ public int PermissionInteger = 0;
+
+ public RequirePermissionAttribute(){}
+
+ public RequirePermissionAttribute(int perms)
+ {
+ PermissionInteger = perms;
+ }
+
+ public RequirePermissionAttribute(Permission permission)
+ {
+ PermissionInteger = (int)permission;
+ }
+}
\ No newline at end of file
diff --git a/Moonlight/Moonlight.csproj b/Moonlight/Moonlight.csproj
index 1c5fe55..400b3ec 100644
--- a/Moonlight/Moonlight.csproj
+++ b/Moonlight/Moonlight.csproj
@@ -19,10 +19,12 @@
+
+
diff --git a/Moonlight/Pages/_Host.cshtml b/Moonlight/Pages/_Host.cshtml
index 3d90fdb..be86ec3 100644
--- a/Moonlight/Pages/_Host.cshtml
+++ b/Moonlight/Pages/_Host.cshtml
@@ -33,6 +33,7 @@
+