Feature #18238
closedFeUsers in table sys_lockedrecords
0%
Description
Because there are some Plugins enabled to let FeUser edit Records (e.g. news-entries) it would be great to have record_locking for FeUser also.
I attach a patch, which
a) adds field feuserid to table sys_lockedrecords
b) adds text-variant for fe-users to locallang_core.xml
c) modifies t3lib_befunc->isRecordLocked to show different messages when be or fe-users locked a record.
This BT-Entry replaces Issue 4655 (http://bugs.typo3.org/view.php?id=4655).
(issue imported from #M7571)
Files
Updated by Stefan Geith almost 17 years ago
Entry 7572 (http://bugs.typo3.org/view.php?id=7572) contains patch for adding functions to $TSFE.
Updated by Stefan Geith almost 17 years ago
To make the goal of this patch clearer:
If you want to edit e.g. a news-entry in the BE and this record is already opend by another BE-User, then you get this yellow exclamation mark that tells you
'The user brzlbrmpf began to edit this record 7 minutes ago.'
But if you want to edit this record while a Fe-User in the FRONTEND (e.g. with the help of sg_newsplus) has this record open for editing, then you don't get any informations. Also the FeUser who is editing doesn't see, if there is another User (Fe or Be) who is alredy editing this record.
This patch enabled sys_lockedrecords to contain a FeUser-ID or a BeUser-ID, that locked the record. The BE-Function that generates the message now distinguishes FeUser by BeUsers. The BeUser can now get a message e.g. 'The FeUser Sepp.Maier began to edit this record ...'.
Naturally this requires the Fe-User-Editing capable extension (like e.g. sg_newsplus) to lock/unlock records in sys_lockedrecords.
The patch in 7572 contains 3 functions for TSFE, that makes this easier to implement.
Updated by Gerrit Code Review almost 13 years ago
- Status changed from Closed to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8605
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8605
Updated by Alexander Opitz over 11 years ago
- Status changed from Under Review to Closed
- Target version deleted (
-1)
As I understand, this issue was resolved. The gerrit code reviews are from another bug (which seems resolved).