Skip to content

Commit

Permalink
Backport view fixes (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-adam authored Aug 2, 2024
1 parent e8f0b96 commit 1209098
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 22 deletions.
6 changes: 3 additions & 3 deletions snprc_ehr/resources/views/ehrAdmin.view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<view xmlns="http://labkey.org/data/xml/view" title="EHR Administration">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="ehr.context" />
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions snprc_ehr/resources/views/enterData.view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<view xmlns="http://labkey.org/data/xml/view" title="Enter Data" frame="none">
<permissions>
<permission name="insert"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.InsertPermission"/>
</permissionClasses>
<dependencies>
<dependency path="ehr.context" />
<dependency path="snprc_ehr/panel/EnterDataPanel.js"/>
Expand Down
6 changes: 3 additions & 3 deletions snprc_ehr/resources/views/sndEventsWidgetWebpart.view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<view xmlns="http://labkey.org/data/xml/view" title="SND Events Widget">
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
<dependency path="gen/SndEventsWidgetWebpart"/>
</dependencies>
Expand Down
13 changes: 6 additions & 7 deletions snprc_ehr/src/client/entryPoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,40 @@ module.exports = {
apps: [{
name: 'NewAnimalPage',
title: 'New Animal Wizard',
permission: 'read',
permissionClasses: ['org.labkey.api.security.permissions.ReadPermission'],
path: './src/client/NewAnimalPage'
}, {
name: 'BirthRecordReport',
title: 'Birth Record Report',
permission: 'read',
permissionClasses: ['org.labkey.api.security.permissions.ReadPermission'],
path: './src/client/BirthRecordReport'
}, {
name: 'ChipReader',
title: 'Chip Reader',
permission: 'read',
permissionClasses: ['org.labkey.api.security.permissions.ReadPermission'],
path: './src/client/ChipReader'
},
{
name: 'SsrsReporting',
title: 'PDF Reports',
permission: 'read',
permissionClasses: ['org.labkey.api.security.permissions.ReadPermission'],
path: './src/client/SsrsReporting'
},
{
name: 'SndLookupsManagement',
title: 'SND Lookups Management',
permission: 'read',
permissionClasses: ['org.labkey.api.security.permissions.ReadPermission'],
path: './src/client/SndLookupsManagement'
},
{
name: 'SndEventsWidget',
title: 'Animal Events',
permission: 'read',
permissionClasses: ['org.labkey.api.security.permissions.ReadPermission'],
path: './src/client/SndEventsWidget'
},
{
name: 'SndEventsWidgetWebpart',
title: 'Animal Events Webpart',
permission: 'read',
path: './src/client/SndEventsWidget/webpart',
generateLib: true
}
Expand Down
6 changes: 3 additions & 3 deletions snprc_r24/resources/views/welcome.view.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<view xmlns="http://labkey.org/data/xml/view" title="R24 ETL Module">
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
</view>
4 changes: 1 addition & 3 deletions snprc_scheduler/resources/views/app.view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<view xmlns="http://labkey.org/data/xml/view" frame="none" title="Procedure scheduling">
<permissions>
<permission name="login"/>
</permissions>
<requiresLogin/>
<dependencies>
<dependency path="snprc_scheduler/gen/app/app.css"/>
</dependencies>
Expand Down

0 comments on commit 1209098

Please sign in to comment.