Reading out all actions in a Grails-Controller

Posted by kenan on Stack Overflow See other posts from Stack Overflow or by kenan
Published on 2010-06-02T09:11:07Z Indexed on 2010/06/02 9:13 UTC
Read the original article Hit count: 312

Filed under:
|

Hi,

i need to read out all available actions from any controller in my web-app. The reason for this is an authorization system where i need to give users a list of allowed actions.

E.g.: User xyz has the authorization for executing the actions show, list, search. User admin has the authorization for executing the actions edit, delete etc.

I need to read out all actions from a controller. Does anyone has an idea?

Thx for any help!

kenan

© Stack Overflow or respective owner

Related posts about grails

Related posts about grails-controller