
|
If you were logged in you would be able to see more operations.
|
|
|
dotCMS
Created: April 29, 2009 2:41 PM
Updated: August 12, 2009 6:44 PM
|
|
| Component/s: |
a. Unknown
|
| Affects Version/s: |
None
|
| Fix Version/s: |
1.7a
|
|
|
Time Tracking:
|
|
Original Estimate:
|
Not Specified
|
|
|
Remaining Estimate:
|
0 minutes
|
|
|
Time Spent:
|
1 hour
|
|
|
|
|
Problem in the permission added to a comment and the ones that are used to determine if an user could save a comment, we should use the comment structure permissions, no the permission of the contentlet that we are commenting, cause we shouldn't have write or publish permission in a page to comment on it.
Also in the last lines of the code, we try to save and publish the contentlet that we are commenting not the comment itself that should be the correct logic.
|
|
Description
|
Problem in the permission added to a comment and the ones that are used to determine if an user could save a comment, we should use the comment structure permissions, no the permission of the contentlet that we are commenting, cause we shouldn't have write or publish permission in a page to comment on it.
Also in the last lines of the code, we try to save and publish the contentlet that we are commenting not the comment itself that should be the correct logic. |
Show » |
| There are no comments yet on this issue.
|
|