permissions ignored - user can create any type of content

klavs - February 24, 2009 - 21:10

Hi.

I have installed a d5.15 site, and everything is very nice.. :)

I have created a role (news) and given that role access to the navigate module and the "node create news" content (a content-type I created).

When I login as the user (and I can confirm I'm logged in - by visiting /user) - I can go to /node/add and success in adding content types of totally other types.. both Page and others.

I have a hard time believing that Drupals permissions system doesn't work - so I must have done something wrong..

Any help to anything I could check would be very welcome.

SOLVED

klavs - February 24, 2009 - 21:19

I had too permissive settings set for authenticated user - which ofcourse affected the user.

Best regards,
Klavs @ linuxpusher.com and VirkPaaNettet.dk

do you set the $user->uid=1

siodong - February 25, 2009 - 02:09

do you set the $user->uid=1 somewhere? coz i think this may cause your problem.

 
 

Drupal is a registered trademark of Dries Buytaert.