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

Johannes Pieper pieper at dlrg.de
Sat Aug 30 21:23:27 CEST 2008


Hi,

Christian Kuhn <lolli at schwarzbu.ch> wrote:
> 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.

Read and test: Works fine +1 

Greetings 

Johannes


-- 
Deutsche Lebens-Rettungs-Gesellschaft e.V. - Präsidium
Johannes Pieper
Arbeitskreis Internet
E-Mail: Pieper at DLRG.de
http://www.DLRG.de


More information about the TYPO3-team-core mailing list