aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Introduce an Anonymous Agenthellekin2021-02-021-1/+5
| | | | | | | | | | | | | 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.
* REUSE: Add AGPL-3.0-or-later to app/*hellekin2020-10-291-2/+4
|
* Add permissionshellekin2020-10-091-1/+3
| | | | | - `current_agent` is now a full instance of Agent - provide helpers to verify current user roles
* First pass at something visiblehellekin2020-10-061-0/+5
| | | | This is a first version of the application, to go beyond simple authentication.
* Add Authentication logichellekin2020-10-051-0/+12
| | | | | | | | | | | The ApplicationController provides a `current_user` method (and helper) to access the authenticated user (if any). The WelcomeController provides minimal logic to authenticate against DiscourseSSO. Current state is that one can login and logout. Views need a lot of work.
* rails new incommon-map -d postgresql -C -Thellekin2020-10-051-0/+2