[TYPO3-core] RFC #5203: Feature: Implement fileoperation permission configuration from be_groups

Christian Kuhn lolli at schwarzbu.ch
Sat Aug 30 20:17:10 CEST 2008


This is an SVN patch request.

Type: Feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=5203

Branches: trunk

Problem:
It would be more convenient to configure fileoperation permissions in 
backend groups, not only in backend users.

Solution:
- Added field fileoper_perms to be_groups table
- Added / adapted TCA, locallang and CSH stuff
- Added handling in t3lib/class.t3lib_userauthgroup.php to OR 
permissions of groups with user permissions
- Introduced function returnFileoperationPermissions() in 
t3lib/class.t3lib_userauthgroup.php
- Use returnFileoperationPermissions() instead of 
$BE_USER->user['fileoper_perms'] in core files

Notes:
Values of groups and user settings are OR'ed, so backwards compatibility 
is not broken. This is comparable to workspace_perms and other stuff 
that can be set both for groups and users. Default group permissions is 0.


Cheers
Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 5203.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080830/9d2dc32c/attachment-0001.txt 


More information about the TYPO3-team-core mailing list