[TYPO3-english] LDAP authenticated users and file permissons

Derek Harkness dharknes at umd.umich.edu
Fri May 8 14:51:08 CEST 2009


The magic you're looking for is

$TCA['be_users']['columns']['fileoper_perms']['config']['default'] = 31;

This will set the default for new users to enable all file operations. If I remember right 31 is a bit field that flags each operation.  I think it documented somewhere.

Oh that goes in your extTables.php file.

Derek Harkness 
Data Security Analysts Senior 
Information Technology Services 
University of Michigan-Dearborn 

----- Original Message -----
From: "StephenBungert" <stephenbungert at yahoo.de>
To: typo3-english at lists.netfielders.de
Sent: Thursday, May 7, 2009 3:49:28 AM GMT -05:00 US/Canada Eastern
Subject: Re: [TYPO3-english] LDAP authenticated users and file permissons


Yes,

It hasn't had any effect.


Wiel, J.A.M. van de wrote:
> 
> Hi Stephen,
> Did you flush the config cache after you altered the $TCA?
> 
> Bas
> 
> ________________________________________
> From: typo3-english-bounces at lists.netfielders.de
> [typo3-english-bounces at lists.netfielders.de] On Behalf Of StephenBungert
> [stephenbungert at yahoo.de]
> Sent: Wednesday, May 06, 2009 4:23 PM
> To: typo3-english at lists.netfielders.de
> Subject: Re: [TYPO3-english] LDAP authenticated users and file permissons
> 
> Hi Marcel,
> 
> Thanks for the reply. We use eu_ldap, yes.
> 
> I don't think creating another usergroup can help, by file permissions I
> don't mean file  mount points to folders in fileadmin. I mean whether a
> user
> can create folders, unzip files etc. These options are only found on user
> records.
> 
> I tried editing the tca with this code in an extension:
> 
> t3lib_div::loadTCA("be_users");
> $TCA['be_users']['columns']['fileoper_perms']['config']['items']['1']['1']
> =
> 1;
> 
> but it didn't seem to do anything.
> 
> 
> 
> marcel-48 wrote:
>>
>> Hi Stephen,
>>
>> create a be_group that serves as permissions group, set up all the users
>> shall be able to and then put all theses be_users into membership for
>> this group.
>>
>> How do you auth per LDAP? eu_ldap extension?
>>
>> good luck,
>> marcel
>>
>>
>> StephenBungert wrote:
>>> Hello.
>>>
>>> I need to set the file permssions for users, they must be able to create
>>> folders and unzip files. I can make manual changes to users created in
>>> TYPO3
>>> and the changes are saved, but when users are authenticated and created
>>> by
>>> LDAP any changes I make to the users BE accounts get changed when they
>>> login
>>> in again back to the default of just "Files:
>>> Upload,Copy,Move,Delete,Rename,New,Edit". Why is this? Is there anyway
>>> to
>>> keep the changes made?
>>>
>>> -----
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
> 
> 
> -----
> --
> Stephen Bungert
> --
> View this message in context:
> http://www.nabble.com/-TYPO3-english--LDAP-authenticated-users-and-file-permissons-tp23404646p23407592.html
> Sent from the TYPO3 English mailing list archive at Nabble.com.
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> 


-----
-- 
Stephen Bungert
-- 
View this message in context: http://www.nabble.com/-TYPO3-english--LDAP-authenticated-users-and-file-permissons-tp23404646p23421878.html
Sent from the TYPO3 English mailing list archive at Nabble.com.

_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list