After reading og_user_roles I found I was able to modify $user->roles in hook_boot(); so no more changes are necessary It is a completely different approach, but everything is simplier in this way; I just need to create a role with the permissions I want, and then at hook_boot(); add the role to the users I want. On Tue, Apr 28, 2009 at 5:31 PM, Lluís <enboig@gmail.com> wrote:
On Tue, Apr 28, 2009 at 5:21 PM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
Quoting Lluís <enboig@gmail.com>:
the only error in apache is: [Tue Apr 28 17:04:49 2009] [error] [client 192.168.1.8] File does not exist: /var/www/favicon.ico
I solved it adding: $menu['node/add']['access callback'] = TRUE;
I made a mistake; it isn't solved. Adding this I can access node/add and it lists all content types, but when I try to access them I see a WSOD. If I insert echo "1234";I see the text, so my wu_role_access(...) is called. Any idea of how to debug where is the problem?
I would ``touch /var/www/favicon.ico'' and make sure the apache user can read it.
I don't care right now about favicon.ico right now; maybe later... :-)
-- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/
-- *La vida és com una taronja, que esperes a exprimir-la? *Si creus que l'educació és cara, prova la ignorància. *La vida és com una moneda, la pots gastar en el que vulguis però només una vegada. *Abans d'imprimir aquest missatge, pensa en el medi ambient.
-- *La vida és com una taronja, que esperes a exprimir-la? *Si creus que l'educació és cara, prova la ignorància. *La vida és com una moneda, la pots gastar en el que vulguis però només una vegada. *Abans d'imprimir aquest missatge, pensa en el medi ambient.