I need to have the ability to disable certain of the EDIT, DELETE, ADD buttons in the templates in a formview based upon the permissions the end user has. I currently read what permissions they have but I need to be able to disable the buttons they shouldn't have access to.

There are two ways I see this could be done.

(1) wrotecode disabling the buttons within the templates or
(2) have no buttons on the templates themselves but have buttons outside the formview.

My problem is I can't figure out how to do it either way.

Any suggestions???

dave