On a d10 site I followed the readme config instruction with both versions, 3 & 3dev.

## CONFIGURATION

  1. Navigate to Administration > Extend and enable the module.
  2. Navigate to Administration > Structure > Content types. Configure per
     Content Type (e.g.: /admin/structure/types/manage/article), editing
     token access on the Token Content Access settings tab. Save.

Clicking Save, the the message reports that the content type was saved, however the setting is not saved and no settings tab appears on the nodes.

Issue fork tca-3361672

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

drupgirl created an issue. See original summary.

yash_khandelwal’s picture

StatusFileSize
new303 KB

Looked on this case and found module is working as expected. Token setting appears on the node. Make sure "Token Content Access nodes" module should be enable. PFA screenshot for your reference.

yash_khandelwal’s picture

Status: Active » Closed (works as designed)
yash_khandelwal’s picture

Status: Closed (works as designed) » Reviewed & tested by the community
drupgirl’s picture

Hmmmm, it's still not saving for me at the content type level. What admin theme are you using there? Are you testing on a D10 site? Thanks!

yash_khandelwal’s picture

I am using Olivero 10.0.9 theme and also checked the case with Claro 10.0.9 theme. Module is working fine. Please check the error logs so we can debug more on this or if not than it looks not an issue with this module.

nick_sh’s picture

The same situation when saving node and product entity. For some reason it is not saving.

nick_sh’s picture

StatusFileSize
new97.77 KB

And token is not visible when "Enable Token Content access protection" enabled
tca

london6339’s picture

Status: Reviewed & tested by the community » Active
wgoley06’s picture

Hi, unless I've overlooked another patch, I still seem to be running into this issue with the enforce token to save on specific nodes. I've tried to export configurations, update the config file, and reimport but its not saving still. I see in the DB that the

SELECT name, data FROM config WHERE name = 'tca.settings';
+--------------+----------------------------------------------+
| name | data |
+--------------+----------------------------------------------+
| tca.settings | a:1:{s:19:"enforce_token_usage";s:4:"true";} |
+--------------+----------------------------------------------+

enforce_token_usage: true
uuid: faf053eb-da89-4669-a1db-c7b864b9e690
langcode: en
status: true
dependencies:
config:
- node.type.estimate
id: node_type_estimate
active: 1
token: required
public: false

I tried changing themes and uninstalled additional modules that might conflict but having no luck.

Anyone else figure out the issue on this one?

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

sanduhrs’s picture

Version: 3.0.2 » 3.0.x-dev
Status: Active » Needs review

Submit handlers are not attached to the form correctly.

kimlop’s picture

In Drupal 10.5.1 saving does not work even when applying the patch to the dev version of the module.

mauro_’s picture

Status: Needs review » Fixed

Thanks @yash_khandelwal @nick_sh @wgoley06 @sanduhrs for the contributions. This issue should be fixed in the new release

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

mauro_’s picture

Status: Fixed » Closed (fixed)