grails - Basic Groovy query regarding security / visibility -


i building .gsp page list user details of application specifications.

i want let 3 roles view allow admin role save changes make. want save button visible on screen when admin logs in.

i know should handling in controller, being new programming have no idea how can achieved?

even if point me link explains helpful.

i assume grails?

you shouldnt invent own security layer, possibilities getting wrong huge. have @ spring-core-security plugin

it has detailed documentation (and bit in question when set up, the documentation here)

there tutorials found on web (one here)


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -