[support] Is Rebuilding Permissions Safe?
Damien Cirotteau
dcirotteau at rue89.com
Thu Aug 21 10:17:32 UTC 2008
FYI please note that rebuilding permission can bring your site down if
you have a lot of nodes (for exemple 50.000). There are strategies to
face the problem. In D6 it will be much easier with the batch API (I
guess, I am not using D6 yet on big sites). In D5, we are hacking the
node access module to do a progressive permission rebuiling in an
update_X function (which works like the batch API of D6)
Damien Cirotteau
www.rue89.com
On Thu, Aug 21, 2008 at 12:12 PM, Daniel Carrera
<daniel.carrera at zmsl.com> wrote:
> Ok. I rebuilt the permissions. I did no harm to the website, but it also
> didn't help. Oh well.
>
> Thanks for the help.
>
> Daniel Carrera wrote:
>> Thanks.
>>
>> And thanks for mentioning backups :) I just realize that if I make a
>> backup and then restore it I'll reset everything to the way it was at
>> the time of the backup. So rebuilding permissions would be very low risk.
>>
>> Daniel.
>>
>>
>> Simone Dal Maso wrote:
>>> I never have problem with that option.
>>> It solved many problems, so I use it without risc. Anyway, a backup is
>>> always useful.
>>> Bye.
>>>
>>>
>>> --
>>> Simone Dal Maso.
>>>
>>> Homepage di sviluppo comunita' NVDA:
>>> http://www.nvda.it
>>> homepage gruppo musicale non piu' aggiornata ma simpatica:
>>> http://www.juvox.it
>>>
>>> ----- Original Message -----
>>> From: "Daniel Carrera" <daniel.carrera at zmsl.com>
>>> To: <support at drupal.org>
>>> Sent: Thursday, August 21, 2008 11:35 AM
>>> Subject: [support] Is Rebuilding Permissions Safe?
>>>
>>>
>>>> Hello,
>>>>
>>>> I just upgraded to Drupal 5 and I have some minor problems with
>>>> taxonomy_access permissions. It occurred to me that I might try "rebuild
>>>> permissions" before I spent too much time chasing the problem, but when
>>>> I go to "rebuild permissions" I get a warning:
>>>>
>>>> "Are you sure you want to rebuild node permissions on the site?
>>>> This will wipe all current node permissions and rebuild them based on
>>>> current settings. Rebuilding the permissions may take a while so please
>>>> be patient. This action cannot be undone."
>>>>
>>>>
>>>> Is it safe to run "rebuild permissions"? I have permissions so that
>>>> certain pages can only be edited by certain roles (taxonomy_access).
>>>> Will those permissions be wiped out? There are a lot of pages on my site
>>>> including hundreds of blog pages from users with certain default
>>>> permissions. Is it safe to run rebuild-permissions?
>>>>
>>>> This is a test site, and in the worst case I can build it again, but I
>>>> really really don't want to lose several days' work for no good reason.
>>>>
>>>> Thanks.
>>>> Daniel.
>>>> --
>>>> [ Drupal support list | http://lists.drupal.org/ ]
>>>>
>>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
More information about the support
mailing list