Date/time, default values and access
Description
Environment
None
Observations
None
Requirement Yogi
Activity
Show:
Adrien Ragot (Old account)April 20, 2018 at 10:31 AM
Hi Serguei,
Thank you very much for your evaluation. Unfortunately, the answer for each of your 3 questions is negative:
Concerning the timestamp, you would have to edit the column in the database itself, because it's not possible through Play SQL. You would, in that case, be able to set the field as TIMESTAMP and with a default value, which would be supported by Play SQL, but users would only be able to insert dates with "midnight" for the time.
We don't have column-level permissions.
Sorry for this disappointing answer.
Best regards,
Adrien
Details
Details
Assignee
Adrien Ragot
Adrien RagotReporter
Serguei Vinokour
Serguei VinokourPriority
Requirement Yogi
Linked requirements
Requirement Yogi
Linked requirements
Created April 20, 2018 at 12:16 AM
Updated October 3, 2019 at 11:10 AM
Hi Adrien,
The plugin is pretty useful and our organization can benefit a lot from it. I have few questions and put them altogether for now. If necessary can create separate issues with more details later.
What I try to figure out is
how to put TIMESTAMP as default for new record (like NOW()), and have it editable (preferably through date/time picker) if necessary
how to define non-editable fields (e.g. current user)
how to differentiate per-column access level (e.g. specific fields are not editable by anybody except by admin)
Thank you,
Serge