aboutsummaryrefslogtreecommitdiff
path: root/app/jobs
Commit message (Collapse)AuthorAgeFilesLines
* [FIX] Ensure User agents are up to dateIN COMMON Collective2021-03-221-1/+4
|
* [FIX] Restore REUSE 3.0 compliancehellekin2021-02-021-0/+4
|
* [FIX] Account for users without an avatar or grouphellekin2021-02-021-0/+15
| | | | | | | | | | | | | | | 1. Ensure new users belong to an Agent Users may come without the correct group information, leading to a situation where they have no Agent assigned to them. The application cannot handle this, so we ensure new users are at least associated to the new Anonymous Agent. 2. Introduce a default avatar Users coming without an avatar would see a broken view. Now they're assigned a default avatar, which shows the IN COMMON icon logo instead.
* Introduce an Anonymous Agenthellekin2021-02-021-60/+0
| | | | | | | | | | | | | Since we moved away from Roles it's important to maintain a default Agent that is distinct from the previous default IN COMMON Agent. Previously, a user without a proper group would be granted the `observer` role in the default Agent, enough to create new resources. Now, we consider anonymous users to be part of the Anonymous Agent, which also brings the possibility for them to edit yet to be accepted Resources.
* Merged masterhellekin2020-11-122-0/+8
|\
| * REUSE: Add AGPL-3.0-or-later to app/*hellekin2020-10-292-0/+8
| |
* | Grant maintainer to group ownerhellekin2020-10-091-0/+2
|/
* Extract Role check to a background jobhellekin2020-10-061-0/+54
| | | | | | | When using SSO, the Discourse sends a list of the user groups. We take the opportunity to update Agency information for the user. This is performed as a background job, as it involves networked requests to the Discourse, e.g., to verify group ownership...
* rails new incommon-map -d postgresql -C -Thellekin2020-10-051-0/+7