Project

General

Profile

Actions

Bug #18053

closed

BE Users restricted to a language are able to publish content in every language

Added by Thomas almost 17 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2008-01-25
Due date:
% Done:

0%

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

Description

Prerequisite:
A page has several content elements i different languages ready for publishing.

A user, who is restricted to work with only (a) certain language(s) will
a) see all other elements in the versioning as well as in the workspace view
and
b) he can actually publish those elements (publishing rights provided)

although his language settings won't even allow him to edit them!

Problem:
The method selectVersionsInWorkspace() which selects "all records from workspace pending for publishing" does not yet consider a users language restrictions. No further checks are done that will verify the users authority to do so.

I have included a patch which will limit the records shown in the versioning and workspace view according to the users available languages stated in $GLOBALS['BE_USER']->groupData['allowed_languages']. The tables that will be limited must have set their "languageField" in the "ctrl" section of the TCA.
He/She will only see and hence be able to publish those elements which comply with his/her language settings.

(issue imported from #M7271)


Files

patch.txt (693 Bytes) patch.txt Administrator Admin, 2008-01-25 15:13
Actions #1

Updated by Tolleiv Nietsch over 13 years ago

  • Status changed from New to Closed
  • Target version deleted (0)

Not relevant anymore after 4.5

Actions #2

Updated by Michael Stucki almost 11 years ago

  • Category set to Workspaces
Actions #3

Updated by Michael Stucki almost 11 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
Actions

Also available in: Atom PDF