Project

General

Profile

Actions

Bug #18242

closed

Toolbar in Cleaner Backend does not honor BE user rights

Added by Benni Mack almost 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2008-02-18
Due date:
% Done:

0%

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

Description

hey,

I just used the TYPO3 backend as a normal (non-admin) user and found out that the top bar does not change if there are limited rights.

I think we need something similar for the rights system as with the modules.

a) The search on top should only be displayed if the user has access to the "List" module

b) The workspace icon should only be shown if 1. there are more than one workspace available for this user and 2. if the module "Workspace Manager" is available for the user.

c) The cache menu should only be visible if the user is allowed to clear the cache or if he/she is an admin. Thus we need an option for a BE user to configure this.

(issue imported from #M7579)


Files


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #18249: Accesscheck for WorkspaceselectorClosedIngo Renner2008-02-19

Actions
Related to TYPO3 Core - Bug #18250: Accesscheck for clearCacheClosedIngo Renner2008-02-19

Actions
Related to TYPO3 Core - Feature #18071: Move 'Open Documents' to Header in the BEClosedIngo Renner2008-01-29

Actions
Actions #1

Updated by Ingo Renner almost 17 years ago

in general it should be enough to have a look at the old sources

Actions #2

Updated by Steffen Kamper almost 17 years ago

i checked user with only access to live workspace: the selector disappears, only the icon stays (should be removed)

The other checks has to be integrated as well like cache links.

Actions #3

Updated by Steffen Kamper almost 17 years ago

i integrated the workspace access check from old source, please have a look

Actions #4

Updated by Steffen Kamper almost 17 years ago

After talking to Ingo in IM i made a patch and extended the interface with checkAccess-Method. If this method returns false, whole module toolbar item is not rendered.

I changed all backend toolbar-modules and added this method returning true and marked as TODO
Workspacemodule does a real check here

@Benni Mack: opendocs has this method also, you can integrate the basic check.
Additional checks for single items should take place in module->render()-method.

Actions #5

Updated by Ingo Renner almost 17 years ago

access checking for toolbar item is prepared now, check out svn revision 3224

Actions #6

Updated by Ingo Renner over 16 years ago

resolved by fixing #17381 and #17381

Actions

Also available in: Atom PDF