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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
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
Hide 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 @@
...
@@ -4,10 +4,10 @@
# Copyright (c) 2012 Vifib SA and Contributors. All Rights Reserved.
# Copyright (c) 2012 Vifib SA and Contributors. All Rights Reserved.
#
#
# WARNING: This program as such is intended to be used by professional
# 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
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# 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
# Service Company
#
#
# This program is Free Software; you can redistribute it and/or
# This program is Free Software; you can redistribute it and/or
...
@@ -17,12 +17,12 @@
...
@@ -17,12 +17,12 @@
#
#
# This program is distributed in the hope that it will be useful,
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# 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
from
functools
import
partial
...
@@ -161,7 +161,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin):
...
@@ -161,7 +161,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin):
if
isinstance
(
id
,
str
):
if
isinstance
(
id
,
str
):
id
=
(
id
,
)
id
=
(
id
,
)
# Short-cut "System Processes" as not being searchable by user_id.
# Short-cut "System Processes" as not being searchable by user_id.
# This improves performance in proxy-role'd execution by avoiding an
# This improves performance in proxy-role'd execution by avoiding an
# sql query expected to find no user.
# sql query expected to find no user.
...
@@ -198,7 +197,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin):
...
@@ -198,7 +197,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin):
if
isinstance
(
login
,
str
):
if
isinstance
(
login
,
str
):
login
=
(
login
,
)
login
=
(
login
,
)
login_list
=
[]
login_list
=
[]
for
user_login
in
login
:
for
user_login
in
login
:
if
user_login
in
SPECIAL_USER_NAME_SET
:
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