-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
users and users_preference tables design cleanup #776
Labels
needs-cleanup
needs-design
type:enhancement
Proposed improvement, new feature, or extension -- not a defect
Milestone
Comments
The reason I currently split them up is that the permissions are different for the two sides. I also agree that one row per preference would be more flexible and allow for add-ons to extend this. |
ehuelsmann
added
type:enhancement
Proposed improvement, new feature, or extension -- not a defect
and removed
type:enhancement
Proposed improvement, new feature, or extension -- not a defect
Major Enhancement
labels
Dec 17, 2017
Impact assessment:
|
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Dec 11, 2020
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Dec 11, 2020
Proposed design:
(It'll be some later change to factor out the company settings from the company wide defaults.) |
This was referenced Dec 21, 2020
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Dec 25, 2020
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Mar 7, 2021
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Mar 7, 2021
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Mar 7, 2021
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Mar 7, 2021
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Mar 7, 2021
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Mar 7, 2021
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Mar 8, 2021
ehuelsmann
added a commit
to ehuelsmann/LedgerSMB
that referenced
this issue
Mar 8, 2021
ehuelsmann
added a commit
that referenced
this issue
Mar 9, 2021
Close #776: Move from row-based to column based preference storage
ylavoie
pushed a commit
to ylavoie/LedgerSMB
that referenced
this issue
Mar 10, 2021
…torage By moving from a row to column based setup, there's (much) more flexibility to define preferences, including allowing preferences to be defined by plugins. Note too that this commit no longer stores the default values for the prefs in the DDL (schema), but has moved the default values into the user_preference table, thus allowing e.g. CoAs or other locale specific configurations to specify default preferences with other values than the ones that were hard-coded in the schema (as well as that they'll be able to specify more/different default preferences).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
needs-cleanup
needs-design
type:enhancement
Proposed improvement, new feature, or extension -- not a defect
The users table maps user names to user IDs (and to entities). The user_preference table lists the user's preferences based on the user's ID. The problem is that it does so by listing all preferences on a single row. This way, the
users
anduser_prefence
tables can be merged; another option (much more flexible) would be to list each preference on a separate row in the user_preference table.The text was updated successfully, but these errors were encountered: