Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
138
Merge Requests
138
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
1823efe0
Commit
1823efe0
authored
Nov 03, 2016
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use erp5_login_users instead of erp5_users.
parent
16b2077f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
bt5/erp5_egov/ExtensionTemplateItem/portal_components/extension.erp5.SetUpEGovInstance.py
...tem/portal_components/extension.erp5.SetUpEGovInstance.py
+4
-4
bt5/tiolive_decouple_instance/SkinTemplateItem/portal_skins/tiolive_decouple_instance/Alarm_removeAuthenticationPlugin.py
...ive_decouple_instance/Alarm_removeAuthenticationPlugin.py
+2
-2
product/ERP5Wizard/tests/testERP5RemoteUserManager.py
product/ERP5Wizard/tests/testERP5RemoteUserManager.py
+2
-2
No files found.
bt5/erp5_egov/ExtensionTemplateItem/portal_components/extension.erp5.SetUpEGovInstance.py
View file @
1823efe0
...
@@ -127,11 +127,11 @@ def setUpEGovSecurityManager(self):
...
@@ -127,11 +127,11 @@ def setUpEGovSecurityManager(self):
plugins
.
deactivatePlugin
(
interface
,
'erp5_groups'
)
plugins
.
deactivatePlugin
(
interface
,
'erp5_groups'
)
plugins
=
acl_users
.
egov_users
.
plugins
plugins
=
acl_users
.
egov_users
.
plugins
interface
=
plugins
.
_getInterfaceFromName
(
'IAuthenticationPlugin'
)
interface
=
plugins
.
_getInterfaceFromName
(
'IAuthenticationPlugin'
)
if
'erp5_users'
in
list
(
plugins
.
_getPlugins
(
interface
)):
if
'erp5_
login_
users'
in
list
(
plugins
.
_getPlugins
(
interface
)):
plugins
.
deactivatePlugin
(
interface
,
'erp5_users'
)
plugins
.
deactivatePlugin
(
interface
,
'erp5_
login_
users'
)
interface
=
plugins
.
_getInterfaceFromName
(
'IUserEnumerationPlugin'
)
interface
=
plugins
.
_getInterfaceFromName
(
'IUserEnumerationPlugin'
)
if
'erp5_users'
in
list
(
plugins
.
_getPlugins
(
interface
)):
if
'erp5_
login_
users'
in
list
(
plugins
.
_getPlugins
(
interface
)):
plugins
.
deactivatePlugin
(
interface
,
'erp5_users'
)
plugins
.
deactivatePlugin
(
interface
,
'erp5_
login_
users'
)
# set properties to enable the login on Person and Organisation
# set properties to enable the login on Person and Organisation
# and subcription forms (citizen, company, agent)
# and subcription forms (citizen, company, agent)
...
...
bt5/tiolive_decouple_instance/SkinTemplateItem/portal_skins/tiolive_decouple_instance/Alarm_removeAuthenticationPlugin.py
View file @
1823efe0
...
@@ -5,7 +5,7 @@ plugin_id = "nexedi_authentication"
...
@@ -5,7 +5,7 @@ plugin_id = "nexedi_authentication"
user_folder
=
context
.
getPortalObject
().
acl_users
user_folder
=
context
.
getPortalObject
().
acl_users
user_folder
.
manage_delObjects
(
'nexedi_authentication'
)
user_folder
.
manage_delObjects
(
'nexedi_authentication'
)
erp5_
users_plugin
=
getattr
(
user_folder
,
"erp5
_users"
)
erp5_
login_users_plugin
=
getattr
(
user_folder
,
"erp5_login
_users"
)
erp5_users_plugin
.
manage_activateInterfaces
(
interfaces
=
[
'IAuthenticationPlugin'
,
'IUserEnumerationPlugin'
])
erp5_
login_
users_plugin
.
manage_activateInterfaces
(
interfaces
=
[
'IAuthenticationPlugin'
,
'IUserEnumerationPlugin'
])
return
True
return
True
product/ERP5Wizard/tests/testERP5RemoteUserManager.py
View file @
1823efe0
...
@@ -107,8 +107,8 @@ class TestERP5RemoteUserManager(ERP5TypeTestCase):
...
@@ -107,8 +107,8 @@ class TestERP5RemoteUserManager(ERP5TypeTestCase):
acl_users
=
self
.
portal
.
acl_users
acl_users
=
self
.
portal
.
acl_users
addERP5RemoteUserManager
(
acl_users
,
self
.
erp5_remote_manager_id
)
addERP5RemoteUserManager
(
acl_users
,
self
.
erp5_remote_manager_id
)
self
.
erp5_remote_manager
=
getattr
(
acl_users
,
self
.
erp5_remote_manager_id
)
self
.
erp5_remote_manager
=
getattr
(
acl_users
,
self
.
erp5_remote_manager_id
)
erp5_
users
=
getattr
(
acl_users
,
'erp5
_users'
)
erp5_
login_users
=
getattr
(
acl_users
,
'erp5_login
_users'
)
erp5_users
.
manage_activateInterfaces
([
'IUserEnumerationPlugin'
])
erp5_
login_
users
.
manage_activateInterfaces
([
'IUserEnumerationPlugin'
])
self
.
erp5_remote_manager
.
manage_activateInterfaces
([
'IAuthenticationPlugin'
])
self
.
erp5_remote_manager
.
manage_activateInterfaces
([
'IAuthenticationPlugin'
])
self
.
commit
()
self
.
commit
()
...
...
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