Fix access control in Admin Index and Navbar components
This commit is contained in:
@@ -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