forked from baron/baron-sso
fix: stabilize tests and refine RBAC model for privileged roles
- Updated devfront to recognize 'rp_admin' and 'tenant_admin' as privileged developer roles. - Added specific forbidden messages for privileged roles in devfront. - Improved adminfront Worksmobile test reliability across browsers. - Updated Makefile to skip userfront tests in environments without Flutter SDK. - Applied lint and format fixes across adminfront and devfront.
This commit is contained in:
@@ -196,7 +196,9 @@ test.describe("보안 및 접근 제어: 시스템 관리자 vs 일반 사용자
|
||||
await page.goto("/tenants");
|
||||
// AppLayout.tsx에서 profileRole !== 'super_admin'일 때 보여주는 메시지 확인
|
||||
await expect(
|
||||
page.getByText(/접근 권한이 없습니다|이 작업을 수행할 권한이 없습니다/i),
|
||||
page.getByText(
|
||||
/접근 권한이 없습니다|이 작업을 수행할 권한이 없습니다/i,
|
||||
),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user