Hi all

In my app, I have a Listing module which allows users to add new listings to
the database (SaveAction). Administrators can update and delete these
listings. I'm looking for some guidance on building this admin module -
specifically starting with these questions:

1. As a general rule, should admin actions be in a separate Admin module? Or
can they coexist with user actions in the existing Listing module? If the
latter, how do I restrict edit/delete actions only to administrators?

2. Can anyone point me to some docs or public source code that implements an
admin panel with login/logout and privileges?

Thanks,

Vikram
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to