Which way to go for user level authentication
Hello,
I want to have 3 user levels namely Administrator (1), Editor (2), user (3). Users can only add an entry to database. Editors can add and edit these entries. Administrators can add, edit and delete these entries.
I want to have single page for data entry, single page to edit and single page to delete entry.
Now, add entry page will allow all levels to work, edit page will allow only editors and administrators while link to delete entry on this page should be visible only to administrator, and delete entry page is accessible only to administrators.
Can you point me to tutorial on this?