-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I do it like this...

Thanks... I was thinking more along the lines of what happens on the pages
themselves. For instance, let's say I have an application that lists jobs
waiting to be done. Normal users can list the jobs and edit/delete their
own, while admin users can edit/delete anyone's. 

Would you optionally include a delete link if the current user is an admin
on that page? Or would the admin user be sent to a different job listing
page altogether?

Of course this is simplistic... when you have three or many levels of
access and a number of functions specific to various groups all on the same
page, the amount of conditional processing can become pretty large. But if
I split the application out so that admins go to an admin job listing, job
editors go to an editor listing and users go to their own listing, I have
an enormous amount of code duplication to contain...

c

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8ckt -  http://irfaiad.virtualave.net/
Comment: PGP Signed for message verification and/or encryption
Comment: KeyID: 0xD68B61E851046CFD

iQA/AwUBOd9WMNaLYehRBGz9EQJ7vwCggywMzwiCYVW6dAAg2wifaZTP35IAoNRI
14JAvySx23/11LFdT7HimHhC
=rG1d
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to