Skip to content

Commit 82a5cb1

Browse files
authored
Merge pull request #394 from VirtualMetric/DT-555-navattic-tenants
DT-555-Navattic demo for tenants
2 parents d702e60 + b3fc5fa commit 82a5cb1

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,25 @@ jobs:
2323
node-version: '20'
2424
cache: 'npm'
2525

26+
- name: Install wrangler
27+
run: npm install -D wrangler@latest
2628
- name: Install dependencies
2729
run: npm ci
28-
2930
- name: Build documentation
3031
run: npm run build
31-
32-
- name: Install Wrangler
33-
run: npm install --global wrangler@4.65.0
34-
3532
- name: Deploy Preview to Cloudflare Pages
3633
id: deploy
3734
uses: cloudflare/wrangler-action@v3
3835
with:
3936
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4037
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
4138
command: pages deploy build --project-name=virtualmetric-docs --branch=${{ github.head_ref }} --commit-dirty=true
42-
4339
- name: Remove old deployment comments
4440
uses: izhangzhihao/delete-comment@master
4541
with:
4642
github_token: ${{ secrets.GITHUB_TOKEN }}
4743
delete_user_name: github-actions[bot]
4844
issue_number: ${{ github.event.pull_request.number }}
49-
5045
- name: Comment Preview URL on PR
5146
uses: thollander/actions-comment-pull-request@v2
5247
with:

demos.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"users-create": "cmj8bkwpo000m04l472dyfld9",
33
"users-manage": "cmj8ny77i000104l24062e8tk",
44
"users-delete": "cmk287alg000304jrgque5e5u",
5-
"tenants-create": "cmk2gcvv6000004jx2o1z56qe",
6-
"tenants-manage": "cmk2ippsj000004ld4hqadxot",
75
"directors-create": "cmk3zld8y000004l5c6250jjt",
86
"directors-manage": "cmkqti82k000004lachjrcrxd",
97
"clusters-create": "cmk5d6u1y000004k06x5q5c4g",
@@ -13,5 +11,6 @@
1311
"settings-subscription": "cmlkimp2y000004l8gmm50235",
1412
"settings-sso": "cmlkoege4000004ldg6nudpit",
1513
"settings-mfa": "cmlhrtkpb000204kwhuoeb5ml",
16-
"organization-tenants": "cmlkiyhl1002904ibbgtud5wp"
14+
"tenants-create": "cmk2gcvv6000004jx2o1z56qe",
15+
"tenants-manage": "cmk2ippsj000004ld4hqadxot"
1716
}

docs/organization/tenants.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The **Actions** menu in the detail view provides tenant-specific operations that
7373

7474
### Create New Tenant
7575

76-
{/* <Demo id="tenants-create" aspectRatio="16/9" /> */}
76+
<Demo id="tenants-create" aspectRatio="18/9" />
7777

7878
To access **Tenant Management**
7979

@@ -193,7 +193,7 @@ Alerts trigger when tenants approach configured limits.
193193

194194
The **Access Requests** system enables time-limited permission delegation for tenant access, allowing administrators to grant temporary access to users with specific permissions and automatic expiration. This feature supports controlled collaboration and audit compliance for sensitive tenant operations.
195195

196-
{/* <Demo id="tenants-manage" aspectRatio="16/9" /> */}
196+
<Demo id="tenants-manage" aspectRatio="16/9" />
197197

198198
### Overview
199199

0 commit comments

Comments
 (0)