fix #557: guide permission-driven VPD flow
This commit is contained in:
@@ -32,24 +32,39 @@
|
||||
<label class="span-2">
|
||||
1. 발급받은 토큰 원문
|
||||
<input class="form-control" name="bearerToken" type="password" autocomplete="off"
|
||||
placeholder="토큰 발급 직후 복사한 값을 붙여 넣으세요" required>
|
||||
<span class="form-hint">원문은 DB에 저장되지 않습니다. 목록에 보이는 prefix만으로는 검증할 수 없으며, 원문을 잃었다면 새 토큰을 발급해야 합니다.</span>
|
||||
placeholder="토큰 발급 직후 복사한 값을 붙여 넣으세요">
|
||||
<span class="form-hint">원문은 DB에 저장되지 않습니다. 아래 임시 토큰 사용자를 선택하면 이 입력은 무시되고 실행 중 발급·완료 즉시 회수됩니다. 둘 다 비우면 invalid token 결과를 확인할 수 있습니다.</span>
|
||||
</label>
|
||||
<label>
|
||||
2. 확인할 데이터
|
||||
<select class="form-select" name="objectId" required>
|
||||
<option th:each="object : ${objects}"
|
||||
th:value="${object.objectId()}"
|
||||
th:text="${object.displayName() + (defaultObjectKeys.contains(object.displayName()) ? ' · 권한체계 자동 (권장)' : ' · 별도 Filter (고급 점검 필요)')}"></option>
|
||||
임시 토큰 사용자 (선택)
|
||||
<select class="form-select" name="tempUserId">
|
||||
<option value="">원문 토큰 사용</option>
|
||||
<option th:each="user : ${users}" th:value="${user.userId()}" th:text="${user.username()}"></option>
|
||||
</select>
|
||||
<span class="form-hint">이 객체에 저장한 권한 규칙과 실제 반환 행을 비교합니다.</span>
|
||||
<span class="form-hint">ORDS 호출에만 사용할 10분 토큰을 만들고 테스트가 끝나면 바로 회수합니다.</span>
|
||||
</label>
|
||||
<label>
|
||||
2. 확인할 데이터
|
||||
<select class="form-select" name="objectId" required>
|
||||
<option th:each="object : ${objects}"
|
||||
th:value="${object.objectId()}"
|
||||
th:attr="data-vector-search=${object.objectName() == 'CB_VECTOR_SEARCH_DOCUMENTS'},data-description=${object.descriptionOrDefault()}"
|
||||
th:text="${object.displayName() + (defaultObjectKeys.contains(object.displayName()) ? ' · 권한체계 자동 (권장)' : ' · 별도 Filter (고급 점검 필요)')}"></option>
|
||||
</select>
|
||||
<span class="form-hint" data-probe-object-description>선택한 대상의 설명이 여기에 표시됩니다.</span>
|
||||
</label>
|
||||
<label>
|
||||
최대 확인 행 수
|
||||
<input class="form-control" name="limit" type="number" min="1" max="500" value="50">
|
||||
<span class="form-hint">권한 판정에는 영향을 주지 않고 화면에 가져올 최대 행만 제한합니다.</span>
|
||||
</label>
|
||||
<button class="btn rw-btn-primary probe-submit" type="submit">3. 권한 결과 확인</button>
|
||||
<input class="form-control" name="limit" type="number" min="1" max="500" value="50">
|
||||
<span class="form-hint">권한 판정에는 영향을 주지 않고 화면에 가져올 최대 행만 제한합니다.</span>
|
||||
</label>
|
||||
<label class="span-2 vector-probe-input" data-vector-probe-input hidden>
|
||||
벡터 검색 요청 본문 (JSON)
|
||||
<textarea class="form-control" name="requestBody" rows="3" disabled
|
||||
placeholder='{"embedding":[0.10,0.20,0.30,0.40]}'></textarea>
|
||||
<span class="form-hint">벡터 검색 객체를 선택했을 때만 필요합니다. 검색어를 외부 임베딩 모델로 바꾼 배열을 넣습니다.</span>
|
||||
</label>
|
||||
<button class="btn rw-btn-primary probe-submit" type="submit">3. 권한 결과 확인</button>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user