Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   restrict edit time, posted by Sebastian Schenk on Mon Jul 15 17:35:48 2019 
    icon2.gif   Re: restrict edit time, posted by Andreas Luedeke on Thu Aug 15 13:34:23 2019 
Message ID: 69001     Entry time: Thu Aug 15 13:34:23 2019     In reply to: 68993
Icon: Reply  Author: Andreas Luedeke  Author Email: andreas.luedeke@psi.ch 
Category: Request  OS: Linux  ELOG Version: 3.1.4 
Subject: Re: restrict edit time 

Yes, I agree that cleaning up old Draft entries and correcting/deleting old entries is a job for the administrator. Currently I do what you've said: commenting out "restrict edit time", changing the entry, commenting in "restrict edit time".

There are already some commands specifically for the admin:

  • Admin textarea = <cols>,<rows>
  • Admin user = <user list>

It would make sense to add more of them, for this specific case:

  • Admin restrict edit time = <hours>

If that is set to "-1", then the Admin can edit old entries regardless of their age. Actually there is no option to "unset" restrict edit time inherited from a global config: a negative time would make sense as "disabling" restrict edit time.

Another item for the endless wishlist ;-)

Cheers, Andreas

Sebastian Schenk wrote:

Hello,
I have experienced some inconveniences with the restrict edit time option.

First, it is not possible for admin users to edit an entry after the edit time.
The restrict edit option allows admin users to edit posts from other users,
so I think admins should also be allowed to edit posts after edit time.
As they can edit the config and temporarily disable the restrict edit time option, which is an issue.

Secondly, if a user made a draft and did not submitted it before the edit time runs out,
the draft got stuck as it cannot be edited (and submitted) any more.

Best wishes,
Sebastian

 

ELOG V3.1.5-3fb85fa6