Skip to content

Commit

Permalink
Migrate <permissionClasses> -> <requiresPermissions>
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-adam committed Jan 15, 2025
1 parent 8508cb6 commit 659c250
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions LDK/resources/views/apiBulkEdit.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="Bulk Edit Using Client API">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="ldk.context"/>

Expand Down
4 changes: 2 additions & 2 deletions LDK/resources/views/folderSizeSummary.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="Folder Size Summary">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="ldk.context"/>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions LDK/resources/views/manageRecord.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 Record" frame="portal">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.security.permissions.InsertPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="Ext4ClientApi"/>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions LDK/resources/views/notificationAdmin.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="Notification Management">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="ldk.context"/>
<dependency path="Security/util/SecurityCache.js"/>
Expand Down
4 changes: 2 additions & 2 deletions LDK/resources/views/notificationSiteAdmin.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="Notification Site Admin">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="ldk.context"/>
<dependency path="Security/util/SecurityCache.js"/>
Expand Down
4 changes: 2 additions & 2 deletions LDK/resources/views/setRedirectUrl.view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<view xmlns="http://labkey.org/data/xml/view">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="ldk.context"/>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions laboratory/resources/views/assayDefaults.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="Assay Defaults">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.laboratory.security.LaboratoryAdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="laboratory.context"/>
<dependency path="laboratory/panel/AssayDefaultsPanel.js"/>
Expand Down
4 changes: 2 additions & 2 deletions laboratory/resources/views/customizeDataBrowser.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="Customize Data Browser">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.laboratory.security.LaboratoryAdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="laboratory.context"/>
<dependency path="laboratory/panel/CustomizeDataBrowserPanel.js"/>
Expand Down
4 changes: 2 additions & 2 deletions laboratory/resources/views/itemDefaultViews.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="Item Default Views">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.laboratory.security.LaboratoryAdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="laboratory.context"/>
<dependency path="laboratory/panel/ItemDefaultViewsPanel.js"/>
Expand Down
4 changes: 2 additions & 2 deletions laboratory/resources/views/itemVisibility.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="Item Visibility">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.laboratory.security.LaboratoryAdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="laboratory.context"/>
<dependency path="laboratory/panel/ItemVisibilityPanel.js"/>
Expand Down
4 changes: 2 additions & 2 deletions laboratory/resources/views/manageDataSources.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 Data Sources">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.laboratory.security.LaboratoryAdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="laboratory.context"/>
<dependency path="laboratory/panel/QueryPickerPanel.js"/>
Expand Down
4 changes: 2 additions & 2 deletions laboratory/resources/views/siteLabSettings.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="Site Settings For DISCVR Modules">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="laboratory.context"/>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions laboratory/resources/views/synchronizeAssayFields.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="Synchronize Assay Fields">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
</requiresPermissions>
<dependencies>
<dependency path="laboratory.context"/>
</dependencies>
Expand Down

0 comments on commit 659c250

Please sign in to comment.