Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:infrastructure:elections.opensuse.org
helios-server
helios-server-opensuse_auth.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File helios-server-opensuse_auth.patch of Package helios-server
From bca662be4429ba2b84d2de9f143073bea054ef1b Mon Sep 17 00:00:00 2001 From: Christian Boltz <opensuse@cboltz.de> Date: Fri, 19 Jan 2018 21:44:51 +0100 Subject: [PATCH] add opensuse (login proxy) auth system opensuse.png taken from en.opensuse.org/Image:Icon-distribution.png --- helios_auth/auth_systems/__init__.py | 3 +- helios_auth/auth_systems/opensuse.py | 54 +++++++++++++++++++++++++++++ helios_auth/media/login-icons/opensuse.png | Bin 0 -> 42837 bytes 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 helios_auth/auth_systems/opensuse.py create mode 100644 helios_auth/media/login-icons/opensuse.png Index: helios_auth/auth_systems/__init__.py =================================================================== --- a/helios_auth/auth_systems/__init__.py.orig 2021-10-18 02:14:54.000000000 +0200 +++ b/helios_auth/auth_systems/__init__.py 2021-11-14 13:10:38.388209213 +0100 @@ -1,5 +1,5 @@ from django.conf import settings -from . import password, twitter, linkedin, cas, facebook, google, yahoo, clever, github +from . import password, twitter, linkedin, cas, facebook, google, yahoo, clever, github, opensuse AUTH_SYSTEMS = {} @@ -12,6 +12,7 @@ AUTH_SYSTEMS['google'] = google AUTH_SYSTEMS['yahoo'] = yahoo AUTH_SYSTEMS['clever'] = clever AUTH_SYSTEMS['github'] = github +AUTH_SYSTEMS['opensuse'] = opensuse # not ready #import live Index: settings.py =================================================================== --- a/settings.py.orig 2021-10-18 02:14:54.000000000 +0200 +++ b/settings.py 2021-11-14 13:10:38.388209213 +0100 @@ -221,6 +221,10 @@ AUTH_ENABLED_SYSTEMS = get_from_env('AUT ).split(",") AUTH_DEFAULT_SYSTEM = get_from_env('AUTH_DEFAULT_SYSTEM', get_from_env('AUTH_DEFAULT_AUTH_SYSTEM', None)) +# who can create an election? +# (parameter specific to openSUSE auth) +ELECTION_CREATORS = ['foobar'] + # google GOOGLE_CLIENT_ID = get_from_env('GOOGLE_CLIENT_ID', '') GOOGLE_CLIENT_SECRET = get_from_env('GOOGLE_CLIENT_SECRET', '')
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor