Issue 1289557
Created on 2005-09-13 09:33 by schlatterbeck, last changed 2006-01-13 03:49 by richard.
File name |
Uploaded |
Description |
Edit |
Remove |
cgi.actions.py.patch
|
schlatterbeck,
2005-09-13 09:33
|
Patch to fix. |
|
|
msg2027 |
Author: [hidden] (schlatterbeck) |
Date: 2005-09-13 09:33 |
|
Attaching a file to a class (probably not limited to
the user class and not to attaching a file) will check
the permission to create the class linked from (user in
this case) instead of the class linked to (file in this
case).
The reason is that somewhere in the calling hierarchy
to the actual permission check the class (file) is lost
and replaced by the class in the current client (user).
I'll attach a patch which is not very well tested (it
fixes my problem but I have no intensive tests that
it'll not break other things).
Version is 0.8.4
|
msg2028 |
Author: [hidden] (richard) |
Date: 2006-01-13 03:49 |
|
Logged In: YES
user_id=6405
Thanks!
Applied similar change to edit permission check.
|
|
Date |
User |
Action |
Args |
2005-09-13 09:33:27 | schlatterbeck | create | |
|