?
avatar AlexRed
AlexRed
13 Feb 2017

Steps to reproduce the issue

Create some new user field: text, calendar and editor.
In the User Registration page we can not edit the field, but we can edit the editor field. We need to set the ACL permission to edit the field (Edit Custom Field Value ) in "Guest" user groups.

Expected result

no edit the editor user field in the User Registration page with default ACL

Actual result

http://www.alexred.com/joomla/2017/registration-user-field2.png

System information (as much as possible)

Joomla 3.7.0 Beta 3 dev

Additional comments

...for me is better to allow by default the "Edit Custom Field Value" in "Guest" user groups ACL permission. It is not simple for the webmaster know why the users field is not editable

avatar AlexRed AlexRed - open - 13 Feb 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 Feb 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 13 Feb 2017

@AlexRed your additional comment: similar #13753

avatar AlexRed
AlexRed - comment - 13 Feb 2017

we can use Contact Field to allow edit it in frontend by Guest?
And the info insert by guest in the contact field Where are going?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14049.

avatar AlexRed
AlexRed - comment - 4 Apr 2017

Editor user field can be edit by default in the User Registration page but not work also if set the acl permission, not data saved for the user in the editor field.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14049.

avatar joomla-cms-bot joomla-cms-bot - edited - 4 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2017
Category com_users Fields ACL com_users Fields
avatar AlexRed
AlexRed - comment - 5 Apr 2017

In the latest stagin the Editor user field can be edit by default in the User Registration page but not work if no set the acl permission. Other Field type can't be edit if no ACL permission.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14049.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Apr 2017

@AlexRed means closing is okay?

avatar AlexRed
AlexRed - comment - 5 Apr 2017

Nooooooooo
The problem is in the stagin.
The Editor user field can be edit by default in the User Registration page but not work if no set the acl permission.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Apr 2017

misreading your Comment, so no closing.

avatar AlexRed
AlexRed - comment - 5 Apr 2017

oppsss... sorry for my bad english.
Please can you try it and confirm ?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Apr 2017

to be honest: i don't get the Issue-Point. I guess you mean Editor-Field should also get by ACL-Default to not edit.

avatar AlexRed
AlexRed - comment - 5 Apr 2017

it is ACL-Default to not edit, but you can edit it :(
But the text not saved in the database

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Apr 2017

thanks, got it, set "confirmed" on Issue Tracker.

avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2017
Status New Confirmed
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2017
Category com_users Fields ACL ACL com_fields com_plugins com_users
avatar AlexRed
AlexRed - comment - 5 Apr 2017

the same Editor Field in the contact Mail form can be edit when permission is not set but in this case the data is saved or better the data is send in the mail body.

for me an ACL "column" in the field list is important, to show if the field can be edit or no by the users.

avatar infograf768
infograf768 - comment - 5 Apr 2017

I confirm the issue.
If the Editor field does not allow Public to use it, we have an issue indeed, specially if the field is required.

avatar infograf768
infograf768 - comment - 5 Apr 2017

@laoneo @Bakual
please look into this. It is easy to mistake here.
I even get the Readmore and Field by default as editor-xtd buttons.

avatar laoneo
laoneo - comment - 5 Apr 2017

I guess this is more of a problem of the editor that it doesn't have a disabled mode.

avatar AlexRed
AlexRed - comment - 5 Apr 2017

for me an ACL "column" in the field list is important, to show if the field can be edit or no by the public. By default all new field are set to no edit in the ACL but the administrator can't see it.

avatar AlexRed
AlexRed - comment - 5 Apr 2017

we can use the "checkbox" icon:
red "checkbox-unchecked" for no permissio for all (default)
green "checkin" if allow for all
checkbox-partial if permission for only some group

avatar laoneo
laoneo - comment - 5 Apr 2017

Every field has permission
image

avatar brianteeman
brianteeman - comment - 5 Apr 2017

What is the problem here? You can set the acl.for everything so I don't understand the issue

avatar AlexRed
AlexRed - comment - 5 Apr 2017

the editor field is editable with ACL set to no edit. But not work, no data saved.

avatar brianteeman
brianteeman - comment - 5 Apr 2017

So it is not editable then. It would be a security issue for public users
to be able to use the rich text editor and definitely should not save any
data by default

Are you saying that the field should not be displayed.

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On 5 April 2017 at 10:51, Alessandro Rossi notifications@github.com wrote:

the editor field is editable with ACL set to no edit. But not work, no
data saved.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#14049 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8Wdj0HkXnT_WPTXhMhLWFnhJBEbZks5rs2QjgaJpZM4L_DgW
.

--
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
https://brian.teeman.net/ http://brian.teeman.net/

avatar AlexRed
AlexRed - comment - 5 Apr 2017

for me yes, why display a field in the User registration form or in the Contact Mail form if it is not editable ?
But it can be "required" and block the procedure

avatar laoneo
laoneo - comment - 5 Apr 2017

That's a different question and a very valid one which nobody raised till now. We can make it that way, when a field is not editable, then it will not be shown. But then I guess we will get tons of requests why a field is not visible just because the permission is wrong set (keep in mind, the edit value permission is initially only allowed for super admins).

avatar AlexRed
AlexRed - comment - 5 Apr 2017

But also now I guess we will get tons of requests why a field is visible but no editable, just because the permission is wrong set (by default).
So for me an ACL "column" in the field list is important, to show if the field can be edit or no by the public. By default all new field are set to no edit in the ACL but the administrator can't see it.

avatar AlexRed
AlexRed - comment - 5 Apr 2017

and if the Field is not visible we solve the editor problem.

avatar brianteeman
brianteeman - comment - 5 Apr 2017

Now that I understand what you mean my personal recommendation would be that if a user does not have the acl priviliges to edit a field then it should be disabled but styled to show that you dont have the permission to edit it. We already have similar styling elsewhere for example in the edit profuile page when you have set the option to disable changing the username

avatar AlexRed
AlexRed - comment - 5 Apr 2017

but you can't do it for the editor field.
And like for the username is not editable is not editable now the other user custom field, no special styling, only not editable. We need a message about not editable for no permission or similar, but also for the editor field if we decide to show the field also it is not editable

avatar Bakual
Bakual - comment - 5 Apr 2017

The problem is that the editor formfield (not the custom field itself) doesn't support readonly/disabled states.
It's a duplicate of #13665, thus I'm closing this issue.

avatar Bakual Bakual - change - 5 Apr 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-04-05 10:33:06
Closed_By Bakual
avatar Bakual Bakual - close - 5 Apr 2017

Add a Comment

Login with GitHub to post a comment