Monday 25 August 2003 4:18:09 am
When a new user registers, a new user object with a node_id is created.
The problem is that my user cannot see the object http://mysite.com/content/view/full/86.
The user gets the error message
Access Denied - You don't have permission to access this area. I figured that this was a permission problem, to I created a new role called 'user' and assigned it to my user group 'guest users' (the group that all new users are added to).
I added the following code to one of my templates to check is the role was correctly assigned to the user:
{fetch(user, current_user).roles|attribute(show)} The correct roles popped up on the screen and all seemed well. All I now had to do was add the correct permissions to the role.
I edited the user role and added the following permissions:
user * *
content edit Class( User ) , Owner( Self ) content read Class( User ) , Owner( Self ) It still doesn't work. I deleted my entire cache directory and tried again. No luck. Can anyone make a couple of suggestions on what I am missing here?
|