[권한 시스템 정리] 불필요한 권한 체크 함수 및 관련 코드 제거, 리소스 구조 개선

This commit is contained in:
2025-09-24 10:19:23 +09:00
parent d278b635e7
commit 1229faa777
4 changed files with 7 additions and 190 deletions

View File

@@ -297,60 +297,6 @@
}}
</p>
</div>
<div class="p-3 bg-gray-50 rounded border">
<h4 class="font-medium text-gray-900 mb-2 text-sm">
여러 권한 하나라도 있는지:
</h4>
<p class="text-xs text-gray-600 mb-1">
<code>hasAnyComponentPermission(['C010105', 'C010102'])</code>
</p>
<p
class="text-sm font-semibold"
:class="
permission.hasAnyComponentPermission(['C010105', 'C010102'])
? 'text-green-600'
: 'text-red-600'
"
>
{{
permission.hasAnyComponentPermission(["C010105", "C010102"])
? "true"
: "false"
}}
</p>
</div>
<div class="p-3 bg-gray-50 rounded border">
<h4 class="font-medium text-gray-900 mb-2 text-sm">
모든 권한이 있는지:
</h4>
<p class="text-xs text-gray-600 mb-1">
<code
>hasAllComponentPermissions(['C010105', 'C010102'])</code
>
</p>
<p
class="text-sm font-semibold"
:class="
permission.hasAllComponentPermissions([
'C010105',
'C010102',
])
? 'text-green-600'
: 'text-red-600'
"
>
{{
permission.hasAllComponentPermissions([
"C010105",
"C010102",
])
? "true"
: "false"
}}
</p>
</div>
</div>
</div>
</div>