Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs-appstore
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
officejs-appstore
Commits
1b5c1b23
Commit
1b5c1b23
authored
May 30, 2017
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[officejs_security] Reference is not used anymore by default on person
parent
85d7f12f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
8 deletions
+5
-8
bt5/officejs_security/WorkflowTemplateItem/portal_workflow/officejs_security_interaction_workflow/interactions/Person_edit.xml
...ecurity_interaction_workflow/interactions/Person_edit.xml
+1
-1
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.py
...eItem/portal_components/test.erp5.testOfficeJSScenario.py
+0
-2
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.xml
...Item/portal_components/test.erp5.testOfficeJSScenario.xml
+4
-4
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSSecurity.py
...eItem/portal_components/test.erp5.testOfficeJSSecurity.py
+0
-1
No files found.
bt5/officejs_security/WorkflowTemplateItem/portal_workflow/officejs_security_interaction_workflow/interactions/Person_edit.xml
View file @
1b5c1b23
...
...
@@ -56,7 +56,7 @@
<key>
<string>
method_id
</string>
</key>
<value>
<list>
<string>
_set
Reference
</string>
<string>
_set
UserId
</string>
</list>
</value>
</item>
...
...
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.py
View file @
1b5c1b23
...
...
@@ -34,8 +34,6 @@ class TestOfficeJSScenario(SecurityTestCase):
reference
+=
"%s"
%
time
.
time
()
user
=
self
.
portal
.
person_module
.
newContent
(
portal_type
=
"Person"
,
reference
=
reference
,
user_id
=
reference
,
first_name
=
first_name
,
last_name
=
last_name
,
default_email_coordinate_text
=
email
,
...
...
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSScenario.xml
View file @
1b5c1b23
...
...
@@ -46,10 +46,10 @@
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:
91
, 28: Unused variable \'api_path\' (unused-variable)
</string>
<string>
W:
91
, 38: Unused variable \'api_query\' (unused-variable)
</string>
<string>
W:
91
, 4: Unused variable \'api_scheme\' (unused-variable)
</string>
<string>
W: 9
2
, 6: Unused variable \'api_fragment\' (unused-variable)
</string>
<string>
W:
89
, 28: Unused variable \'api_path\' (unused-variable)
</string>
<string>
W:
89
, 38: Unused variable \'api_query\' (unused-variable)
</string>
<string>
W:
89
, 4: Unused variable \'api_scheme\' (unused-variable)
</string>
<string>
W: 9
0
, 6: Unused variable \'api_fragment\' (unused-variable)
</string>
</tuple>
</value>
</item>
...
...
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSSecurity.py
View file @
1b5c1b23
...
...
@@ -77,7 +77,6 @@ class TestOfficeJSSecurity(SecurityTestCase):
self
.
assertEqual
(
len
(
user_list
),
0
)
user
=
self
.
portal
.
person_module
.
newContent
(
portal_type
=
"Person"
,
reference
=
reference
,
first_name
=
first_name
,
last_name
=
last_name
,
default_email_coordinate_text
=
email
,
...
...
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