Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
9aa59d41
Commit
9aa59d41
authored
Aug 26, 2019
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor unimpotant changes
parent
645e1dc2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
master/product/SlapOS/SlapOSShadowAuthenticationPlugin.py
master/product/SlapOS/SlapOSShadowAuthenticationPlugin.py
+4
-6
No files found.
master/product/SlapOS/SlapOSShadowAuthenticationPlugin.py
View file @
9aa59d41
...
...
@@ -4,10 +4,10 @@
# Copyright (c) 2012 Vifib SA and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole respons
i
bility of assessing all potential
# programmers who take the whole respons
a
bility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# g
u
arantees and support are strongly adviced to contract a Free Software
# garantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
...
...
@@ -22,7 +22,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA.
# Foundation, Inc., 5
9 Temple Place - Suite 330, Boston, MA 02111-1307
, USA.
#
##############################################################################
from
functools
import
partial
...
...
@@ -161,7 +161,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin):
if
isinstance
(
id
,
str
):
id
=
(
id
,
)
# Short-cut "System Processes" as not being searchable by user_id.
# This improves performance in proxy-role'd execution by avoiding an
# sql query expected to find no user.
...
...
@@ -198,7 +197,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin):
if
isinstance
(
login
,
str
):
login
=
(
login
,
)
login_list
=
[]
for
user_login
in
login
:
if
user_login
in
SPECIAL_USER_NAME_SET
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment