• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need more than securing URLs with Acegi

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
I'm looking to use Acegi plugin for our Grails application.
http://grails.org/plugin/acegi
I'm not sure but it looks to me it is only secures URL, in our application I need to show/hide sections of GSP bases on roles.
Is it possible to do this with Acegi?
Thanks.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, look at the documentation:

http://www.grails.org/AcegiSecurity+Plugin+-+Artifacts
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, there are tags for that




That is an example in my app, in my main layout. So that my left nav looks different based on being logged in or not, and if you have certain roles.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic