Comment 3 for bug 1645862

Revision history for this message
Kyle Huckins (khuckins) wrote (last edit ):

Based on what Bill mentioned, I've pushed a commit here: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/khuckins/lp1645862-grid-default-width-ou-settings

This branch creates Org Unit Setting types based on the existing eg.grid-prefixed Workstation settings, and adds an option to save your grid configuration to the Org. At the moment, the Org Unit Setting types don't have a dedicated update permission, and so will default to UPDATE_ORG_UNIT_SETTING_ALL. A more granular look at permissions is ideal, but will likely be an undertaking in itself, so I'll add the needsdiscussion tag, though I think what is present is also worth the pullrequest.

The Grid will prefer Workstation settings to Org settings, and I've noticed that removing the settings from a Workstation setting or an OU Setting will require logging out and back in to see them apply - this appears to be an unrelated bug worth investigating, so I've opened a ticket here: https://bugs.launchpad.net/evergreen/+bug/1965835

This branch will require any future branch introducing new grid persistKeys to provide an eg.grid-prefixed OUS, as without the setting, the functionality will fail on those grids.