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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
0f46f529
Commit
0f46f529
authored
Jan 19, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Anonymous do not have security mapping.
parent
db857005
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_viewSecurity.xml
...em/portal_skins/erp5_administration/Base_viewSecurity.xml
+5
-4
bt5/erp5_administration/bt/revision
bt5/erp5_administration/bt/revision
+1
-1
No files found.
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_viewSecurity.xml
View file @
0f46f529
...
@@ -75,9 +75,10 @@ print \'\'\'\n
...
@@ -75,9 +75,10 @@ print \'\'\'\n
----------------\n
----------------\n
Security mapping\n
Security mapping\n
----------------\'\'\'\n
----------------\'\'\'\n
try:\n
if u.getId() is not None:\n
try:\n
print context.Base_viewSecurityMappingAsUser(u.getId())\n
print context.Base_viewSecurityMappingAsUser(u.getId())\n
except Unauthorized:\n
except Unauthorized:\n
print "user doesn\'t have permission to security mapping in this context"\n
print "user doesn\'t have permission to security mapping in this context"\n
\n
\n
return printed\n
return printed\n
...
...
bt5/erp5_administration/bt/revision
View file @
0f46f529
140
141
\ No newline at end of file
\ 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