Hi,
Nice suggestions, but you are a bit ahead of us here.
There is plans for supporting authentication and authorization. When that is
in place it would be nice to have dsl support for user roles.
I guess it also could be possible to have multiple variations of tasks, i.e:
ListTask for Person {
  name.first
  sex
}
ListTask [admin] for Person {
  name.first
  birthDate
  ssn
  sex
}

But it isn't something we have discussed
If you feel it is something we should consider, think it through and add a
suggestion in the tracker.

.../Andreas

On Wed, Apr 21, 2010 at 1:31 PM, greatfooty <greatfo...@gmail.com> wrote:

>
> I'm playing with setup of a sculptor site to contain multiple versions of
> various UI task-types (these to be invoked depending on auth role of the
> user).
>
> For example I'd want to define a 'public' ListTask for Person  like this:
>
>        ListTask for Person {
>            name.first
>            sex
>        }
>
> and an 'admin' ListTask for Person like this:
>
>        ListTask for Person {
>            name.first
>            birthDate
>            sex
>            ssn
>        }
>
> Thats a simple example and obviously i can achieve this particular one by
> doing say role-based suppression of output within the list_include.html but
> there can be many more complex examples where declarative definition in the
> DSL would be way easier.
>
> Is there already any way to do this? eg. maybe some hidden DSL options for
> naming tasks??
>
> --
> View this message in context:
> http://old.nabble.com/-Sculptor--Multiple-UI-tasks-per-%27task-type%27--tp28288008s17564p28288008.html
> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Fornax-developer mailing list
> Fornax-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>
------------------------------------------------------------------------------
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to