fix(859-8): M02 도면 양식 = 시스템 층 — 일반 · 회사 계정이 열면 읽기만([저장] · 리본 숨김 · 서버는 원래 막음)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -274,7 +274,14 @@ export function buildSide(opt: SideOptions): SideHandle {
|
||||
// 여는 것은 편집 칸(`onOpen`) — 편집 칸이 열 때마다 `paint` 를 부름(페이지가 이음)
|
||||
async function select(info: TemplateInfo): Promise<void> {
|
||||
if (!isOpen(info) && !(await opt.confirmLeave())) return;
|
||||
opt.onOpen({ layer, projectId: null, kind: info.종류, name: info.이름 });
|
||||
// 도면 양식 = 시스템 층 — 쓰기는 시스템 관리자만(페이지 층 권한을 따르지 않음)
|
||||
opt.onOpen({
|
||||
layer,
|
||||
projectId: null,
|
||||
kind: info.종류,
|
||||
name: info.이름,
|
||||
canWrite: opt.isSystem,
|
||||
});
|
||||
}
|
||||
|
||||
async function refresh(): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user