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

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -

R summary function in ddply (plyr) in a simple way -

c# - Are delegates created via lambda expressions guaranteed to be cached? -