Project

General

Profile

Actions

Bug #89060

open

Automatic generating a slug fails if editor has no permission

Added by Daniel Dorndorf over 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & 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 1 (1 open0 closed)

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

Actions
Actions #1

Updated by Thomas Deinhamer over 4 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 over 4 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 almost 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

Also available in: Atom PDF