Project

General

Profile

Actions

Bug #89060

closed

Automatic generating a slug fails if editor has no permission

Added by Daniel Dorndorf about 5 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-09-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

A slug field only gets automaticly generated if the user has permission to edit the field.

There may be situations where a redacteur should not have permission to change the url, but has to be able to create a new record though.
This will inevitable lead to a error due to the missing slug for the record.

Only way to handle this is to use a tca hook generating the slug by yourself.

Should'nt it be possible to let a slug be generated even though the user has no edit permission, or would this be against the concept of the TYPO3 permissions?

Greetings
Daniel


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #88224: Make it possible to hide slug field for editors / make it readonlyClosed2019-04-26

Actions
Is duplicate of TYPO3 Core - Bug #88360: Missing Slug when editors create a NEW page?Closed2019-05-15

Actions
Actions #1

Updated by Thomas Deinhamer about 5 years ago

  • Subject changed from Automatic generating a slug fails if redacteur has no permission to Automatic generating a slug fails if editor has no permission
Actions #2

Updated by Benni Mack about 5 years ago

  • Related to Feature #88224: Make it possible to hide slug field for editors / make it readonly added
Actions #3

Updated by Riccardo De Contardi over 4 years ago

I tried the following test with 10.4.4 (fresh installation) with EXT:news installed (it adds a slug field to the sys_category table)

1) Create a "Editors" BE Usergroup with access to

- pages
-sys_category

except the slug field

2) Create an "Editor" BE User with "Editors" group

3) Use "Editor" to create

- a page
- a category record

on both cases the record has been successfully created but with empty slug field

Actions #4

Updated by Georg Ringer 6 months ago

  • Status changed from New to Closed

closing as duplicate of #88360

Actions #5

Updated by Georg Ringer 6 months ago

  • Is duplicate of Bug #88360: Missing Slug when editors create a NEW page? added
Actions

Also available in: Atom PDF