Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
b9681c3a
Commit
b9681c3a
authored
Oct 10, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wrong usages of declarePublic().
parent
25ff6cf0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
product/ERP5Configurator/Tool/ConfiguratorTool.py
product/ERP5Configurator/Tool/ConfiguratorTool.py
+1
-2
product/ERP5Wizard/Tool/WizardTool.py
product/ERP5Wizard/Tool/WizardTool.py
+3
-6
No files found.
product/ERP5Configurator/Tool/ConfiguratorTool.py
View file @
b9681c3a
...
@@ -321,8 +321,7 @@ class ConfiguratorTool(BaseTool):
...
@@ -321,8 +321,7 @@ class ConfiguratorTool(BaseTool):
business_configuration
=
business_configuration
)
business_configuration
=
business_configuration
)
return
response
return
response
security
.
declarePublic
(
Permissions
.
AccessContentsInformation
,
security
.
declarePublic
(
'getInstallationStatusReport'
)
'getInstallationStatusReport'
)
def
getInstallationStatusReport
(
self
,
def
getInstallationStatusReport
(
self
,
active_process_id
=
None
,
REQUEST
=
None
):
active_process_id
=
None
,
REQUEST
=
None
):
""" Query local ERP5 instance for installation status.
""" Query local ERP5 instance for installation status.
...
...
product/ERP5Wizard/Tool/WizardTool.py
View file @
b9681c3a
...
@@ -808,8 +808,7 @@ class WizardTool(BaseTool):
...
@@ -808,8 +808,7 @@ class WizardTool(BaseTool):
REQUEST
.
set
(
'portal_status_message'
,
html
)
REQUEST
.
set
(
'portal_status_message'
,
html
)
return
self
.
view
(
REQUEST
=
REQUEST
)
return
self
.
view
(
REQUEST
=
REQUEST
)
security
.
declarePublic
(
Permissions
.
AccessContentsInformation
,
security
.
declarePublic
(
'getInstallationStatusReportFromClient'
)
'getInstallationStatusReportFromClient'
)
def
getInstallationStatusReportFromClient
(
self
,
def
getInstallationStatusReportFromClient
(
self
,
active_process_id
=
None
,
REQUEST
=
None
):
active_process_id
=
None
,
REQUEST
=
None
):
""" Query local ERP5 instance for installation status.
""" Query local ERP5 instance for installation status.
...
@@ -836,8 +835,7 @@ class WizardTool(BaseTool):
...
@@ -836,8 +835,7 @@ class WizardTool(BaseTool):
'text/html; charset=utf-8'
)
'text/html; charset=utf-8'
)
return
html
return
html
security
.
declarePublic
(
Permissions
.
AccessContentsInformation
,
security
.
declarePublic
(
'getInstallationStatusReportFromServer'
)
'getInstallationStatusReportFromServer'
)
def
getInstallationStatusReportFromServer
(
self
,
active_process_id
=
None
,
def
getInstallationStatusReportFromServer
(
self
,
active_process_id
=
None
,
REQUEST
=
None
):
REQUEST
=
None
):
""" Query remote server (usually only once for some installation status report """
""" Query remote server (usually only once for some installation status report """
...
@@ -956,8 +954,7 @@ class WizardTool(BaseTool):
...
@@ -956,8 +954,7 @@ class WizardTool(BaseTool):
if
portal_preferences
.
getActivePreference
()
is
not
None
:
if
portal_preferences
.
getActivePreference
()
is
not
None
:
portal_preferences
.
setPreference
(
preference_id
,
value
)
portal_preferences
.
setPreference
(
preference_id
,
value
)
security
.
declarePublic
(
Permissions
.
AccessContentsInformation
,
security
.
declarePublic
(
'isSingleSignOnEnabled'
)
'isSingleSignOnEnabled'
)
def
isSingleSignOnEnabled
(
self
):
def
isSingleSignOnEnabled
(
self
):
"""
"""
Check that a ERP5 Remote User manager is
Check that a ERP5 Remote User manager is
...
...
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