> > > Thank you very much for the explanation. Just another
> > > possible solution occurred to me:
> > >
> > > 1) to define "ask" functions like this in secured beans:
> > >
> > > public boolean canModify(MyBean obj) {
> > > return true;
> > > }
> > > public boolen canInsert() {
> > > return
Ben,
Could you provide some code samples ?
- Original Message -
From: "Ben Alex" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 08, 2004 2:16 PM
Subject: RE: [Acegisecurity-developer] how can GUI ask if an operation will
be permited or not?
>
> Thank you very much for the explanation. Just another
> possible solution occurred to me:
>
> 1) to define "ask" functions like this in secured beans:
>
> public boolean canModify(MyBean obj) {
> return true;
> }
> public boolen canInsert() {
> return true;
> }
>
> 2) apply to those func
>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 08, 2004 12:01 AM
Subject: RE: [Acegisecurity-developer] how can GUI ask if an operation will
be permited or not?
> > Is there an easy way how can the GUI ask a secured bean if an
> > operation will be permited or not? Because acco
> Is there an easy way how can the GUI ask a secured bean if an
> operation will be permited or not? Because according to the
> result it will allow logged user to for example modify some
> items or show them read only.
> Do I have to implement the same access logic (as in voters)
> again in my
Hi,
Is there an easy way how can the GUI ask a secured bean if an operation will
be permited or not? Because according to the result it will allow logged
user to for example modify some items or show them read only.
Do I have to implement the same access logic (as in voters) again in my GUI
lookin