deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: Question about page parameters and access decision voters evaluation
Date Fri, 13 Nov 2015 15:07:50 GMT
hi juan,

i'll have a look at your demo soon.

regards,
gerhard



2015-11-13 15:54 GMT+01:00 Juan Pablo <jpangamarca@gmail.com>:

> Hello guys, I have a question, why access decision voters on views (defined
> in a typesafe view-config) are evaluated before any page parameters are
> set? Authorization could change in function of the page params (say, a page
> used to create/edit an entity depending on a parameter passed to it, and
> the user could be authorized only to edit, not to create new entities). Is
> this the expected behavior? In Seam for example, the evaluation order is
> page params, restrict expressions (analogous to access decision voters) and
> then page actions, so the described use case can be implemented without any
> problems. Here's the demo for my case, with an extended discussion:
> https://github.com/jpangamarca/deltaspike-authorization-demo. Any chances
> of supporting that kind of authorization requirements? Should I file a
> ticket?
>
> Thanks for your attention.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message