Monday 19 April 2004 10:48:27 am
Hey Gunnstein, thank you for your answer. Giving away the passwort is not a really serious solution. Even if your suggestion would be acceptable there is the problem that I always need to log in into different accounts - I would do this only once a day - not really in time... I spent almost the whole day on this problem - trying to find out how for example the pendinglist works. Now I have an idea...: In the file 'kernel/content/ezcontentfunctioncollection.php' the function fetchPendingList() is defined. This function calls eZPersistentObject::fetchObjectList() with the following condition for the database query:
array('creator_id' => $userID,
'status' => EZ_VERSION_STATUS_PENDING)
If I'm right, I just need to replace $userID with an array of the relevant user ids - that is: I need one function, searching the relevant IDs in a content class belonging to this feature. Then I searched for 'creator_id' in the whole code finding 51 places, which I have to look at if this piece of code is relevant for such a feature. Additionally to the 'creator_ids' I need to collect the additional roles for the user - but I think this should be a thing that could be solved much more central (probably in the ezRole class...) In the end I just need some additionaly templates in the admin interface to transfer temporary the rigths of one user to another one... There are just some additional questions I need to test; e.g. if User B creates a new version of an object of User A: who is / should be the owner of that object? What do you think? Thank you and have a nice day Thomas
|