? J3 Issue ?
avatar Ruud68
Ruud68
3 Jun 2017

Steps to reproduce the issue

in back-end:

  1. Create user fieldgroup 'testgroup' (only title > save and close)

Validate default Field Group in 'testgroup' permissions for Author:

  • Create: Allowed (inherited)
  • Delete: Not Allowed (inherited)
  • Edit: Not Allowed (inherited)
  • Edit State: Not Allowed (inherited)
  • Edit Own: Allowed (inherited)
  • Edit Custom Field Value: Not Allowed (inherited)
  1. Create user field type (eg) editor) 'testfield' in field group 'testgroup' (only title / type and field group > save and close)

On front-end:

  1. login with user who has author rights (only registered and author)
  2. goto the user profile and edit the user profile.

The testfield is 'read-only' and cannot be changed.

Expected result

Because the user is member of the Author group the user should be able to create and edit assigned field values.

Actual result

Currently the Field is read-only for everybody (no matter what ACL group you are assigned to) accept for superusers.
For every group / (when not assigned a group) field the permission needs to be changed:

  • Edit Custom Field Value: Allowed

System information (as much as possible)

OS Linux
PHP 7.0.19-1+deb.sury.org~zesty+2
MySQLi 5.7.18-0ubuntu0.17.04.1

Additional comments

Not sure if having the fields default to read-only is by design (for me personal it is not logical)

The documentation: https://docs.joomla.org/J3.x:Adding_custom_fields/Parameters_for_all_Custom_Fields
states under 'In the register Options you can use the options: '
Disabled - Should the field be disabled in the edit form.
Read only - Should the field be read-only in the edit form.

But these buttons are not (anymore?) in the Options tab of the field?

avatar Ruud68 Ruud68 - open - 3 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jun 2017
Title
default ACL field / fieldgroups not correct?
[com_fields] default ACL field / fieldgroups not correct?
avatar joomla-cms-bot joomla-cms-bot - edited - 3 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jun 2017

changed Title for @laoneo

avatar Bakual
Bakual - comment - 3 Jun 2017

The doc is probably outdated then. It's a wiki.

As for the default ACL values, you can set them globally in your Joomla configuration and then it will be inherited down to the fields. So you only have to set that initially in one place. By default it's indeed disabled.
We could change those default values for new installs. We can't change it during an update.

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Jun 2017
Status New Discussion
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar brianteeman brianteeman - change - 18 Aug 2018
Labels Added: ? J3 Issue
avatar brianteeman brianteeman - labeled - 18 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - change - 18 Mar 2020
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2020-03-18 03:04:12
Closed_By joomla-cms-bot
avatar jwaisner jwaisner - change - 18 Mar 2020
Status Closed Expected Behaviour
Closed_By joomla-cms-bot jwaisner
avatar joomla-cms-bot joomla-cms-bot - close - 18 Mar 2020
avatar joomla-cms-bot
joomla-cms-bot - comment - 18 Mar 2020

Set to "closed" on behalf of @jwaisner by The JTracker Application at issues.joomla.org/joomla-cms/16457

Add a Comment

Login with GitHub to post a comment