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
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):
business_configuration
=
business_configuration
)
return
response
security
.
declarePublic
(
Permissions
.
AccessContentsInformation
,
'getInstallationStatusReport'
)
security
.
declarePublic
(
'getInstallationStatusReport'
)
def
getInstallationStatusReport
(
self
,
active_process_id
=
None
,
REQUEST
=
None
):
""" Query local ERP5 instance for installation status.
...
...
product/ERP5Wizard/Tool/WizardTool.py
View file @
b9681c3a
...
...
@@ -808,8 +808,7 @@ class WizardTool(BaseTool):
REQUEST
.
set
(
'portal_status_message'
,
html
)
return
self
.
view
(
REQUEST
=
REQUEST
)
security
.
declarePublic
(
Permissions
.
AccessContentsInformation
,
'getInstallationStatusReportFromClient'
)
security
.
declarePublic
(
'getInstallationStatusReportFromClient'
)
def
getInstallationStatusReportFromClient
(
self
,
active_process_id
=
None
,
REQUEST
=
None
):
""" Query local ERP5 instance for installation status.
...
...
@@ -836,8 +835,7 @@ class WizardTool(BaseTool):
'text/html; charset=utf-8'
)
return
html
security
.
declarePublic
(
Permissions
.
AccessContentsInformation
,
'getInstallationStatusReportFromServer'
)
security
.
declarePublic
(
'getInstallationStatusReportFromServer'
)
def
getInstallationStatusReportFromServer
(
self
,
active_process_id
=
None
,
REQUEST
=
None
):
""" Query remote server (usually only once for some installation status report """
...
...
@@ -956,8 +954,7 @@ class WizardTool(BaseTool):
if
portal_preferences
.
getActivePreference
()
is
not
None
:
portal_preferences
.
setPreference
(
preference_id
,
value
)
security
.
declarePublic
(
Permissions
.
AccessContentsInformation
,
'isSingleSignOnEnabled'
)
security
.
declarePublic
(
'isSingleSignOnEnabled'
)
def
isSingleSignOnEnabled
(
self
):
"""
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