You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a user address book that allows users to manage a list of their addresses.
Addresses are not scoped to sites. They belong to a user and are universal — available in any active site.
Address book can be visible and is available to use only when it's enabled in the system settings (which are already site scoped). By default the address book is disabled.
For the country selector, our World plugin should be used, where countries have already been implemented.
Features
"Address book" feature can be enabled/disabled in the system settings
Create address
Update address
Delete address
Each feature obviously also needs a test.
Permissions
Each user can edit only his own addresses
Admins with "User update" permission can edit/manage addresses for any user
(needs positive and negative tests)
Data model
Table: user_addresses
Notes:
column types can be different, this is just the old table
country_id is a foreign key to world_countries.id
Interface
Addresses should maybe be in a tab, to prevent too many things on one page (deferred loaded table)
The form should allow up to 3 address lines, but only 1 is shown by default (majority of countries uses 1)
Address can be set as default
Address can be a company address, which adds 2 more fields: company name (required), company VAT ID (optional)
Activity
Merge branch 'main' of github.com:DataLinx/eclipsephp-core into DataL…
Merge branch 'main' into DataLinx#10-user-address-book-implementation
Merge branch 'main' into fork/thapacodes4u/DataLinx#10-user-address-b…
Merge branch 'DataLinx#10-user-address-book-implementation' of github…