mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-17 00:14:43 +00:00
Fix access control in Admin Index and Navbar components
This commit is contained in:
1 parent
3fe58ec66b
commit
d7001937ac
2 files changed
+2
-2
No files matched your search
@@ -142,7 +142,7 @@
|
||||
|
||||
</ul>
|
||||
</details>
|
||||
@if (isCloud())
|
||||
@if (isCloud() && isInstanceAdmin())
|
||||
<li title="Admin">
|
||||
<a class="hover:bg-transparent" href="/admin">
|
||||
<svg class="text-pink-600 icon" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
Reference in new issue
Block a user