The subject of persisting user preferences has come up from time to time, and
our last discussion on the topic was last May. At that time, Si and Leon came up
with a user preference system to solve a problem for Opentaps. I had suggested
making it more generic so the whole community could use it for more than what
they were trying to achieve. The subject was dropped after David asked for "100
uses" of the feature. Si and Leon went ahead and implemented their version in
Opentaps. Nothing was fed back into the project.
There are some features I would like to develop for OFBiz that will require
saving and retrieving user preferences, and I would like to get something built
along these lines. I would like to come up with a generic, yet flexible user
preference system for ALL OFBiz developers to use. I will probably design it
around the discussions we had in May.
Before I can submit any code for evaluation, I need to know where something like
this should go. The user preference system is driven primarily by the UserLoginId.
The Security component defines the UserLoginId, so I considered putting it
there, but then the user preferences feature doesn't have anything to do with
security, so that would be confusing.
The Party component would be another possibility, but then the feature would
depend upon the Party component - something that isn't necessary because the
user settings feature doesn't need the Party component.
The third possibility would be a new component called User Services or
something.
Any ideas? I'd like to get started on this soon.
-Adrian