File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,19 +59,7 @@ const ForbiddenPage = () => {
5959 </ p >
6060 </ motion . div >
6161
62- { /* Warning Detail */ }
63- < motion . div
64- variants = { itemVariants }
65- className = "mt-8 p-4 bg-black/20 border border-white/5 rounded-2xl"
66- >
67- < div className = "flex items-center gap-3 text-red-300 text-sm font-semibold justify-center" >
68- < div className = "w-2 h-2 bg-red-500 rounded-full animate-ping" />
69- CODE 403: FORBIDDEN_ACCESS
70- </ div >
71- < p className = "text-xs text-white/50 mt-2 uppercase tracking-widest font-bold" >
72- Unauthorized Personnel Protocol Active
73- </ p >
74- </ motion . div >
62+
7563
7664 { /* Actions */ }
7765 < motion . div
@@ -94,13 +82,6 @@ const ForbiddenPage = () => {
9482 </ button >
9583 </ motion . div >
9684
97- { /* Footer Tip */ }
98- < motion . p
99- variants = { itemVariants }
100- className = "mt-8 text-sm text-white/40"
101- >
102- Think this is a mistake? < button className = "text-indigo-400 hover:underline font-bold" > Contact Support</ button >
103- </ motion . p >
10485 </ motion . div >
10586 </ div >
10687 ) ;
Original file line number Diff line number Diff line change @@ -229,12 +229,14 @@ export const appRoutes: Route[] = [
229229 {
230230 type :"component" ,
231231 path : "tailscale" ,
232+ allowedRoles : [ "ADMIN" ] ,
232233 component : < TailscaleDashboard /> ,
233234 title : "Tailscale" ,
234235 } ,
235236 {
236237 type :"component" ,
237238 path : "cloudflare" ,
239+ allowedRoles : [ "ADMIN" ] ,
238240 component : < CloudflareDnsDashboard /> ,
239241 title : "Cloudflare" ,
240242 }
You can’t perform that action at this time.
0 commit comments