[Typo3] permissions problem

Roberts, Emma Emma.Roberts at isd.csa.scot.nhs.uk
Fri Jun 17 16:17:41 CEST 2005


Hmmmmmm - that sounds a bit scary to me!

I think I'll stick with Neil's one - I have access to the php.ini and I can
always change it back after.

Thanks
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Bernhard
Kraft
Sent: 17 June 2005 14:59
To: typo3-english at lists.netfielders.de
Subject: Re: [Typo3] permissions problem


Roberts, Emma wrote:

> Is the site just to big to set the owner recursively? And if so, how can I
> do it?

Yup the site is to big ...

You can either:

----------
1. increase the max execution time (see other posting from Neil Darlow)
(good but not secure solution, requires access to php.ini)

----------
2. Set the permissions just for 2 or 3 levels at once and not for infinite
(or 4)
so you will have to dive into the tree manually, see until where the
information
was changed and set the permissions manually for the subsites also ...
(worst and most work-intensive solution)

----------
3. Set the permissions of the pages directly in the database ... you can do
this
via a mysql shell or a phpMyAdmin interface ....
the query will look like:
----
UPDATE pages SET perms_userid=BEUSER_OWNER_UID,
perms_groupid=BEUSER_GROUP_UID, perms_user=PERMS_USER,
perms_group=PERMS_GROUP, perms_everybody=PERMS_EVERYBODY;
----
change BEUSER_OWNER_UID to the UID of the user who shall own the pages and
BEUSER_GROUP_UID to the BE
group who shall own the pages. the values PERMS_XXXX must be set to what you
want to allow the User/Group/Everybody
The value is the sum of the single values of what you would like to allow:
    *       2^0 = show (1)
     *       2^1 = edit (2)
     *       2^2 = delete (4)
     *       2^3 = new (8)
	    2^4 = edit content (16)
so if you want to allow everything just sum it up: 16+8+4+2+1 = 31 and you
know to which value you must
set PERMS_USER or the others.
(best solution, requires access to the DB)
----------



greets,
Bernhard
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_________________________________________________________________ 
NHS National Services Scotland Disclaimer 

The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only. If you have 
received this message in error or there are any problems please notify the 
originator immediately. The unauthorised use, disclosure, copying or 
alteration of this message is strictly forbidden. 
_________________________________________________________________ 




More information about the TYPO3-english mailing list