Skip to content

Commit

Permalink
Migrate .view.xml files from deprecated <permissions> elements to <pe…
Browse files Browse the repository at this point in the history
…rmissionClasses> (#184)
  • Loading branch information
labkey-adam authored Jul 12, 2024
1 parent 6997d07 commit 5040a0d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions atlastools/resources/views/dataUploadDashboard.view.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<view xmlns="http://labkey.org/data/xml/view">
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
</view>
6 changes: 3 additions & 3 deletions atlastools/resources/views/recoverNAbFiles.view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<view xmlns="http://labkey.org/data/xml/view">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="Ext4" />
<dependency path="internal/jQuery" />
Expand Down
6 changes: 3 additions & 3 deletions atlastools/resources/views/recoverNAbFolders.view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<view xmlns="http://labkey.org/data/xml/view">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="Ext4" />
<dependency path="internal/jQuery" />
Expand Down
6 changes: 3 additions & 3 deletions peptideInventory/resources/views/manage.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="Manage Peptide Inventory">
<permissions>
<permission name="insert"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.InsertPermission"/>
</permissionClasses>
<dependencies>
<dependency path="clientapi/ext3" />
<dependency path="clientapi/ext4" />
Expand Down
6 changes: 3 additions & 3 deletions viscstudies/resources/views/migrateStudyDesigns.view.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<view xmlns="http://labkey.org/data/xml/view"
frame="none">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="Ext4" />
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions viscstudies/resources/views/updateStudyProperties.view.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<view xmlns="http://labkey.org/data/xml/view"
frame="none">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="Ext4" />
</dependencies>
Expand Down

0 comments on commit 5040a0d

Please sign in to comment.