Skip to content

Commit

Permalink
typo (#7804)
Browse files Browse the repository at this point in the history
  • Loading branch information
landreev committed Oct 12, 2021
1 parent 9bd755b commit 8db3d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/developers/uipages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ with the following code in ``SettingsWrapper.java``:
return advancedModeEnabled;
}
A more serious example would be direct calls to PermissionServiceBean methods used in render logic expression. This is something that has happened and caused some problems in real life. A simple permission service lookup (for example, whether a user is authorized to create a dataset in the current dataverse) can easily take 15 database queries. Repeated multiple times, this can quickly become a measurable delay in rendering the page. PermissionsWrapper must be used exclusively for any such lookups from JSF pages.
A more serious example would be direct calls to PermissionServiceBean methods used in render logic expressions. This is something that has happened and caused some problems in real life. A simple permission service lookup (for example, whether a user is authorized to create a dataset in the current dataverse) can easily take 15 database queries. Repeated multiple times, this can quickly become a measurable delay in rendering the page. PermissionsWrapper must be used exclusively for any such lookups from JSF pages.

0 comments on commit 8db3d87

Please sign in to comment.