« Return to Thread: jsecurity VS acegi

Re: jsecurity VS acegi

by Jon.S :: Rate this Message:

Reply to Author | View in Thread

Hi there,

I just notice your taglib test(AuthorizeTagLibTest) in plugin folder, I might play with it some more.  Somehow I miss that from your docs...    

The only thing remains is to create some manager program where I can specify each role permision for each domain fields.  

For example:

class DomainFoo{
    String blah;
}

then you have another domain to store your role

class DomainRolePermission{
   String domainName;
   Role  theRole;
   short permisionLevel;
}

Then I need to write a taglib something similar like this...
<g:fieldVisibility value="${permisionLevel}"> ...

the permisionLevel could be: read, write, hidden

Then it will render text box if writeable, or hidden input, etc....

I am actually planning to write this because its pretty simple actually(maybe).  But if you want to include that, it will be superb -- I'll owe you a beer for that :)


Best Regards,

J

 « Return to Thread: jsecurity VS acegi

LightInTheBox - Buy quality products at wholesale price