Compare commits

..

8 Commits

Author SHA1 Message Date
Josepablo Cruz
8645d505f2 feat: Removing findDriverLoads 2026-04-13 20:42:32 -06:00
Josepablo Cruz
c4c065f9ad Merge remote-tracking branch 'origin/master' into develop 2026-04-13 20:40:24 -06:00
Josepablo Cruz Baas
965e2569e5 Private Groups + Load-Templates Features
Private Groups enabled based on the following assumptions:

There is only one private group.
The companies added to the private group is able to find private loads in the directory.
The companies added to the private group is able to find private companies in the directory.
The driver requires a new endpoint to read load resources no matter the privacy rules (as long as they are added to the load as driver).
The private group can be updated by anyone within the company.
The privacy is enabled on the company information by enabling privacy=true.
The privacy is enabled on the loads information by enabling privacy=true.
When looking for loads/companies by default the search is with privacy=false which returns public elements. When privacy=trueis given, the results are limited to private elements only (not including public elements).

Load-Templates enabled based on the following assumptions:

Anyone can CRUD the templates, there is no find feature (for now). It is assumed that the number of templates is limited.

See merge request jcruzbaasworkspace/enruta/etaapi!3
2026-03-31 22:47:32 +00:00
Josepablo Cruz Baas
d06696fd0c Private Groups + Load-Templates Features 2026-03-31 22:47:31 +00:00
Josepablo Cruz Baas
3a823174ed Merge branch 'revert-14a8a228' into 'master'
Draft: Revert "feat: Private Groups + Load-Templates"

See merge request jcruzbaasworkspace/enruta/etaapi!2

-> This commit reverts (rolls-back) to previous version for production.
2026-03-31 22:06:21 +00:00
Josepablo Cruz Baas
f79329e714 Draft: Revert "feat: Private Groups + Load-Templates" 2026-03-31 22:06:21 +00:00
Josepablo Cruz Baas
14a8a22880 feat: Private Groups + Load-Templates
Private Groups enabled based on the following assumptions:

* There is only one private group.
* The companies added to the private group is able to find private loads in the directory.
* The companies added to the private group is able to find private companies in the directory.
* The driver requires a new endpoint to read load resources no matter the privacy rules (as long as they are added to the load as driver).
* The private group can be updated by anyone within the company.
* The privacy is enabled on the company information by enabling `privacy=true`.
* The privacy is enabled on the loads information by enabling `privacy=true`.
* When looking for loads/companies by default the search is with `privacy=false` which returns public elements. When `privacy=true`is given, the results are limited to private elements only (not including public elements).

Load-Templates enabled based on the following assumptions:

* Anyone can CRUD the templates, there is no find feature (for now). It is assumed that the number of templates is limited.
2026-03-31 02:02:30 +00:00
Josepablo Cruz Baas
82c2ea74e8 feat: Private Groups + Load-Templates
Private Groups enabled based on the following assumptions:

* There is only one private group.
* The companies added to the private group is able to find private loads in the directory.
* The companies added to the private group is able to find private companies in the directory.
* The driver requires a new endpoint to read load resources no matter the privacy rules (as long as they are added to the load as driver).
* The private group can be updated by anyone within the company.
* The privacy is enabled on the company information by enabling `privacy=true`.
* The privacy is enabled on the loads information by enabling `privacy=true`.
* When looking for loads/companies by default the search is with `privacy=false` which returns public elements. When `privacy=true`is given, the results are limited to private elements only (not including public elements).

Load-Templates enabled based on the following assumptions:

* Anyone can CRUD the templates, there is no find feature (for now). It is assumed that the number of templates is limited.
2026-03-31 02:02:30 +00:00

Diff Content Not Available