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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
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
Hide 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,10 +75,11 @@ print \'\'\'\n
...
@@ -75,10 +75,11 @@ print \'\'\'\n
----------------\n
----------------\n
Security mapping\n
Security mapping\n
----------------\'\'\'\n
----------------\'\'\'\n
try:\n
if u.getId() is not None:\n
print context.Base_viewSecurityMappingAsUser(u.getId())\n
try:\n
except Unauthorized:\n
print context.Base_viewSecurityMappingAsUser(u.getId())\n
print "user doesn\'t have permission to security mapping in this context"\n
except Unauthorized:\n
print "user doesn\'t have permission to security mapping in this context"\n
\n
\n
return printed\n
return printed\n
</string>
</value>
</string>
</value>
...
...
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