BAIS 권한 서비스를 Spring Java로 전환 (BAIS-E2E-MIG-001)
Some checks failed
ci / test (push) Has been cancelled
Some checks failed
ci / test (push) Has been cancelled
This commit is contained in:
parent
f9d94d4809
commit
9159911f44
1 changed files with 11 additions and 0 deletions
11
src/main/java/com/example/AuthorizationService.java
Normal file
11
src/main/java/com/example/AuthorizationService.java
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package com.example;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class AuthorizationService {
|
||||
public boolean hasAccess(String userId, String resource) {
|
||||
// 권한 로직을 여기에 구현합니다.
|
||||
return true; // 예시로 항상 true를 반환
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue