Hello,

As an administrator, I am able to view editable field content, but as a tourist, the field content is not visible.

Test in drupal 10.2.7

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

msn5158 created an issue. See original summary.

joco_sp’s picture

I don't know who is a tourist for you, but did you check the permissions for that role? There are many that can prevent non-admin users to use them.
Did you check if that user has the permission to use the Editable fields (see screenshot)? Or if the user can edit this entity? You also have the option to bypass the access for a dedicated field (see the screenshot).

msn5158’s picture

The first image outputs the content normally.
https://www.drupal.org/files/issues/2024-08-09/screencapture-domain-hast...

The second image selects editablefields as the field formatting program, using default settings. For authorized users, it becomes editable fields. However, for users who have not logged in, that is, unauthenticated users, the basic display of content is missing.
https://www.drupal.org/files/issues/2024-08-09/screencapture-domain-hast...

The third image, with the 'Bypass access check' option selected, the visitor still cannot see the content.
https://www.drupal.org/files/issues/2024-08-09/screencapture-domain-hast...

What I mean is that visitors cannot edit fields, but they should be able to see the basic content, just like using the default formatting program.

gilmord made their first commit to this issue’s fork.

gilmord’s picture

@msn5158 - what you are looking for is "No access formatted" checkbox + "Select no access display mode"
those settings allow to select formatted for the users who have no access

*important - while checking this issue, I noticed that selecting same display mode cause loop, pushed a fix in development branch to prevent selecting current display mode as no-access fallback.

  • gilmord committed 0c6437ac on 1.0.x
    #3465743 - do not allow selecting current display mode as fallback
    
gilmord’s picture

Status: Active » Fixed
Issue tags: +LutskGCW25

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.