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> (#195)
  • Loading branch information
labkey-adam committed Aug 1, 2024
1 parent 772c7a7 commit 2cbe940
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions sourdough/resources/views/dailylog.view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title="Daily Log"
template="body"
>
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
<!-- local imports -->
<dependency path="dailylog/script.js"/>
Expand Down
6 changes: 3 additions & 3 deletions sourdough/resources/views/dailylogSide.view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title="Documentation: Views and Webparts"
template="body"
>
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
</dependencies>
</view>
6 changes: 3 additions & 3 deletions sourdough/resources/views/dashboard.view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title="Dashboard"
template="body"
>
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
<dependency path="dashboard/script.js"/>
<dependency path="dashboard/styles.css"/>
Expand Down
6 changes: 3 additions & 3 deletions sourdough/resources/views/dashboardSide.view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title="Documentation: Queries and Reports"
template="body"
>
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
</dependencies>
</view>
6 changes: 3 additions & 3 deletions sourdough/resources/views/overview.view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title="Sourdough Overview"
template="body"
>
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
<dependency path="overview/script.js"/>
<dependency path="overview/styles.css"/>
Expand Down
6 changes: 3 additions & 3 deletions sourdough/resources/views/overviewSide.view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title="Further Reading"
template="body"
>
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
</dependencies>
</view>
6 changes: 3 additions & 3 deletions sourdough/resources/views/styling.view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
template="body"
frame="none"
>
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
<dependency path="styling/script.js"/>
<dependency path="styling/styles.css"/>
Expand Down
6 changes: 3 additions & 3 deletions sourdough/resources/views/stylingSide.view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title="Documentation: Styling and Appearance"
template="body"
>
<permissions>
<permission name="read"/>
</permissions>
<permissionClasses>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
<dependencies>
</dependencies>
</view>

0 comments on commit 2cbe940

Please sign in to comment.