31,003
edits
m (→Login) Tag: 2017 source edit |
Tags: Mobile edit Mobile web edit |
||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
= Some requirements = | = Some requirements = | ||
* Must be a Dolibarr module called "WebPortal" | * Must be a Dolibarr module called "WebPortal" | ||
* Only 1 permission will be used : "Administer users of the customer/partner webportal module" | |||
* The portal must be pages hosted into /public/webportal/ | * The portal must be pages hosted into /public/webportal/ | ||
* Code must follow dolibarr development rules (https://wiki.dolibarr.org/index.php?title=Language_and_development_rules) | * Code must follow dolibarr development rules (https://wiki.dolibarr.org/index.php?title=Language_and_development_rules) | ||
| Line 17: | Line 18: | ||
* login from website for users of a website. The column site contains "dolibarr_website" and we store the id of website into fk_website | * login from website for users of a website. The column site contains "dolibarr_website" and we store the id of website into fk_website | ||
So we will also use it to store login for the external portal access too: | So we will also use it to store login for the external portal access too: | ||
* the column "site" will contains "dolibarr_portal" and fk_soc will contains the id of the thirdparty. This column must appears into the form "Type of website" with possible "Web site (CMS Dolibarr)" if module website dolibarr is on, "Native | * the column "site" will contains "dolibarr_portal" and fk_soc will contains the id of the thirdparty. This column must appears into the form "Type of website" with possible "Web site (CMS Dolibarr)" if module website dolibarr is on, "Native Dolibarr portal" (if module webportal is on), ... | ||