Acegi security "read only" mode
Is there any way to configure Acegi to mark all fields and button as "Disabled"/"ReadOnly", when guest user is accessing the application ?
Or do i have to do it at each field at JSP level ?
Is there any way to configure Acegi to mark all fields and button as "Disabled"/"ReadOnly", when guest user is accessing the application ?
Or do i have to do it at each field at JSP level ?
Comments
3 ways that i remember of:
a. give to each button its security
b. wrap part of page which includes buttons in it and put the security on top of that wrapper.
c. when defining acegi giving it the initial path for each user.
also if you don't want to write all the time the security for each button, and youre schedule is not tight
you can write your own buttons that are predefined with the privileges, and use only these buttons.