
Michael Ziegler - 2007-09-20 20:04:08 -
In reply to message 1 from Ivo Trompert
Hi,
that's what you use the privileges for. Are you familiar with the way Zend Framework works? It is described in detail here: http://framework.zend.com/manual/en/zend.acl.html
The bottom line is:
Your news module/script/whatever needs to check the privileges View, Add and Edit, depending on what the user is trying to do. If you want someone to only be able to view, you'd need to insert the following data into the access table:
Role: $username
Resource: News
Privilege: View
Allow: True
For some other user to be able to do everything:
Role: $someOtherUser
Resource: News
Privilege: NULL
Allow: True
That should work fine :)
Hth,
Michael