Default values on fields a user can't access..

Created on 26 June 2012, almost 13 years ago
Updated 6 February 2025, 4 months ago

Hi,

I have a content type that has a number of fields that are for internal admin use only.. Mostly dates and a "computed_field"..

When a node is created these values need to have default values set..

If the content is created by staff users (with full permissions to the field) the defaults work perfectly.. If the content is created by a customer the values are empty which breaks other functionality..

I believe it should always accept defaults is specified regardless of field permissions because if the intention was for fields to be black the site builder wouldn't have specified a default value..

Is there a work around for this situation?

Thanks..

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom wipeout_dude

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024