Skip to content

Commit

Permalink
Merge pull request #82 from SuffolkLITLab/lock-down-install
Browse files Browse the repository at this point in the history
Check your privilege
  • Loading branch information
nonprofittechy committed Apr 18, 2023
2 parents 8fcb74a + e4c5a5b commit e86f584
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 9 deletions.
7 changes: 4 additions & 3 deletions docassemble/ALDashboard/data/questions/compile_bootstrap.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
include:
- docassemble.ALToolbox:display_template.yml
- nav.yml
---
metadata:
title: Compile Bootstrap Themes
sessions are unique: True
Expand All @@ -7,9 +11,6 @@ metadata:
- developer
temporary session: True
---
include:
- docassemble.ALToolbox:display_template.yml
---
objects:
- output_file: DAFile
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
include:
- nav.yml
---
metadata:
required privileges:
- admin
---
imports:
- requests
---
Expand Down
7 changes: 7 additions & 0 deletions docassemble/ALDashboard/data/questions/nav.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---
metadata:
required privileges:
- admin
- developer
temporary session: True
sessions are unique: True
---
default screen parts:
right: |
${ action_button_html(interview_url(i=f"{user_info().package}:menu.yml"), label="Back to Dashboard") }
4 changes: 4 additions & 0 deletions docassemble/ALDashboard/data/questions/package_scanner.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
include:
- nav.yml
---
metadata:
title: Package scanner
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
include:
- nav.yml
---
metadata:
title: |
Generate a draft review screen
temporary session: True
---
include:
- nav.yml
---
mandatory: True
code: |
yaml_file
Expand Down
6 changes: 3 additions & 3 deletions docassemble/ALDashboard/data/questions/validate_docx.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
include:
- nav.yml
---
metadata:
title: |
Validate DOCX Template
---
include:
- nav.yml
---
modules:
- .validate_docx
---
Expand Down

0 comments on commit e86f584

Please sign in to comment.