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
Ludovic Kiefer
erp5
Commits
cd42e66d
Commit
cd42e66d
authored
Nov 28, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reference query should be definitely exact match.
otherwise login like 'ASTAIRE AND ROGERS' does not work.
parent
d3805591
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
product/ERP5/bootstrap/erp5_core/ExtensionTemplateItem/portal_components/extension.erp5.StandardSecurity.py
...Item/portal_components/extension.erp5.StandardSecurity.py
+2
-1
product/ERP5/bootstrap/erp5_core/bt/revision
product/ERP5/bootstrap/erp5_core/bt/revision
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/ExtensionTemplateItem/portal_components/extension.erp5.StandardSecurity.py
View file @
cd42e66d
...
...
@@ -26,6 +26,7 @@
##############################################################################
from
Products.ERP5Security.ERP5GroupManager
import
ConsistencyError
from
Products.ZSQLCatalog.SQLCatalog
import
SimpleQuery
def
getSecurityCategoryFromAssignment
(
self
,
base_category_list
,
user_name
,
object
,
portal_type
,
child_category_list
=
[]):
...
...
@@ -53,7 +54,7 @@ def getSecurityCategoryFromAssignment(self, base_category_list, user_name, objec
category_list
=
[]
person_object_list
=
self
.
portal_catalog
.
unrestrictedSearchResults
(
portal_type
=
'Person'
,
reference
=
user_name
)
query
=
SimpleQuery
(
reference
=
user_name
),
portal_type
=
'Person'
)
if
len
(
person_object_list
)
!=
1
:
if
len
(
person_object_list
)
>
1
:
...
...
product/ERP5/bootstrap/erp5_core/bt/revision
View file @
cd42e66d
41141
\ No newline at end of file
41142
\ No newline at end of file
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