Displaying 1 result from an estimated 1 matches for "8f5a04fd".
2006 May 13
3
login_generator Restricting Specific Users
I have created a ''admin'' controller and all the necessary definitions
and templates to delete, update and edit records and this is working OK,
but how do I effectively restrict access to these defs'' from all but the
admin user (called admin)?
Currently I am just using if statements within the defs'' to check if it
is the admin user logged in e.g;
def index