Clean install gives permission error 'administer node fields' for user 1

Created on 14 February 2022, almost 3 years ago
Updated 4 May 2024, 8 months ago

Problem/Motivation

Just installed a clean install 9.3.5 (no additional modules). Creating a new content type, adding a field and get an access denied. In the log, it says:

Bericht	Pad: /admin/structure/types/manage/property/fields/node.property.body. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: The 'administer node fields' permission is required. in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (regel 118 in /home/paul/www/drupal9-test/web/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).

Steps to reproduce

Install a clean 9.3.5 using:
composer create-project drupal/recommended-project drupal9-test

start the symfony web server
symfony server:start --document-root=web -d

Go the the url and run the installer script

Create a new content type and add a field -> the permission error is shown

Additional context

Php 8.0.15
Symfony cli 5.2.2
SQLite 3.36.0
Ubuntu 21.10

🐛 Bug report
Status

Closed: cannot reproduce

Version

11.0 🔥

Component
Field 

Last updated 1 day ago

Created by

🇳🇱Netherlands parijke

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.

  • 🇳🇿New Zealand quietone

    @parijke, Thank you for reporting this problem. We rely on issue reports like this one to resolve bugs and improve Drupal core.

    Is this still a problem on a supported version of Drupal?

    If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").

    Thanks!

  • Status changed to Closed: cannot reproduce 8 months ago
Production build 0.71.5 2024