Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate .view.xml files from <permissions> to <permissionClasses> (#203) #206

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 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">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="ldk.context"/>

Expand Down
6 changes: 3 additions & 3 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">
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
<dependency path="ldk.context"/>
</dependencies>
Expand Down
6 changes: 3 additions & 3 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">
<permissions>
<permission name="insert" />
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.InsertPermission"/>
</permissionClasses>
<dependencies>
<dependency path="Ext4ClientApi"/>
</dependencies>
Expand Down
6 changes: 3 additions & 3 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">
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
<dependency path="ldk.context"/>
<dependency path="Security/util/SecurityCache.js"/>
Expand Down
6 changes: 3 additions & 3 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">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="ldk.context"/>
<dependency path="Security/util/SecurityCache.js"/>
Expand Down
6 changes: 3 additions & 3 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">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="ldk.context"/>
</dependencies>
Expand Down
6 changes: 3 additions & 3 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">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="laboratory.context"/>
</dependencies>
Expand Down
6 changes: 3 additions & 3 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">
<permissions>
<permission name="admin"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.AdminPermission"/>
</permissionClasses>
<dependencies>
<dependency path="laboratory.context"/>
</dependencies>
Expand Down