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
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
Laurent S
erp5
Commits
0bee523d
Commit
0bee523d
authored
Jan 30, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add DumbHTTPExtractionPlugin at site creation
parent
87cfa88f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+4
-0
No files found.
product/ERP5/ERP5Site.py
View file @
0bee523d
...
...
@@ -2090,6 +2090,8 @@ class ERP5Generator(PortalGenerator):
erp5security_dispatcher
.
addERP5GroupManager
(
'erp5_groups'
)
erp5security_dispatcher
.
addERP5RoleManager
(
'erp5_roles'
)
erp5security_dispatcher
.
addERP5UserFactory
(
'erp5_user_factory'
)
erp5security_dispatcher
.
addERP5DumbHTTPExtractionPlugin
(
'erp5_dumb_http_extraction'
)
# Register ERP5UserManager Interface
p
.
acl_users
.
erp5_users
.
manage_activateInterfaces
(
(
'IAuthenticationPlugin'
,
...
...
@@ -2098,6 +2100,8 @@ class ERP5Generator(PortalGenerator):
p
.
acl_users
.
erp5_roles
.
manage_activateInterfaces
((
'IRolesPlugin'
,))
p
.
acl_users
.
erp5_user_factory
.
manage_activateInterfaces
(
(
'IUserFactoryPlugin'
,))
p
.
acl_users
.
erp5_dumb_http_extraction
.
manage_activateInterfaces
(
(
'IExtractionPlugin'
,))
def
setupPermissions
(
self
,
p
):
permission_dict
=
{
...
...
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