|
List Info
Thread: groups in roles?
|
|
| groups in roles? |

|
2007-02-16 01:56:08 |
Hello
Is it possible to use groups in rolevalues?
For example, I'd like to create a group "admins":
<role name="admin"
restricted="true">
<description>Admins</description>
<rolevalue>admins</description>
</role>
Judging from the documentation, it seems like it would now
expect
"admin" to be a user... How can I do this?
Thank you and kind regards
Flavio Curti
--
http://no-way.org/~fcu/
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
swamp-devel mailing list
swamp-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net
|
|
| Re: groups in roles? |
  Germany |
2007-02-16 08:37:08 |
Flavio Curti schrieb:
> Hello
>
> Is it possible to use groups in rolevalues?
>
> For example, I'd like to create a group
"admins":
>
> <role name="admin"
restricted="true">
> <description>Admins</description>
> <rolevalue>admins</description>
> </role>
>
> Judging from the documentation, it seems like it would
now expect
> "admin" to be a user... How can I do this?
Hi,
where would you like to define the members of that group
admins?
At the moment it would be possible to store them in a
databitvalue,
or comma seperated in the rolevalue element.
It is also possible to merge other roles to a new one by
using
<roleref> elements.
Greetings
--
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development ::
Internal Tools
"A strange game.
The only winning move is not to play.", Wargames
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
swamp-devel mailing list
swamp-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net
|
|
| Re: groups in roles? |

|
2007-02-16 09:06:59 |
On Fri, Feb 16, 2007 at 03:37:08PM +0100, Thomas Schmidt
wrote:
> Flavio Curti schrieb:
> > Hello
> >
> > Is it possible to use groups in rolevalues?
> >
> > For example, I'd like to create a group
"admins":
> >
> > <role name="admin"
restricted="true">
> > <description>Admins</description>
> > <rolevalue>admins</description>
> > </role>
> >
> > Judging from the documentation, it seems like it
would now expect
> > "admin" to be a user... How can I do
this?
> where would you like to define the members of that
group admins?
> At the moment it would be possible to store them in a
databitvalue,
> or comma seperated in the rolevalue element.
> It is also possible to merge other roles to a new one
by using
> <roleref> elements.
> Greetings
I was thinking to define them in the database using the
user, userGroup, etc.
tables, but i figure that's not possible atm...
Kind regards & thank you
Flavio
--
http://no-way.org/~fcu/
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
swamp-devel mailing list
swamp-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net
|
|
| Re: groups in roles? |
  Germany |
2007-02-16 09:16:27 |
Flavio Curti schrieb:
> On Fri, Feb 16, 2007 at 03:37:08PM +0100, Thomas
Schmidt wrote:
>> Flavio Curti schrieb:
>>> Hello
>>>
>>> Is it possible to use groups in rolevalues?
>>>
>>> For example, I'd like to create a group
"admins":
>>>
>>> <role name="admin"
restricted="true">
>>> <description>Admins</description>
>>> <rolevalue>admins</description>
>>> </role>
>>>
>>> Judging from the documentation, it seems like
it would now expect
>>> "admin" to be a user... How can I do
this?
>> where would you like to define the members of that
group admins?
>> At the moment it would be possible to store them in
a databitvalue,
>> or comma seperated in the rolevalue element.
>> It is also possible to merge other roles to a new
one by using
>> <roleref> elements.
>> Greetings
>
> I was thinking to define them in the database using the
user, userGroup, etc.
> tables, but i figure that's not possible atm...
>
> Kind regards & thank you
The advantage of defining roles inside the workflow
definition is that
the roles are
bound to that workflow and its revision.
Greetings
--
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development ::
Internal Tools
144 pixels ought to be enough for anybody,
www.blinkenlights.de
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
swamp-devel mailing list
swamp-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net
|
|
| Re: groups in roles? |

|
2007-02-16 09:26:48 |
Hello Thomas
On Fri, Feb 16, 2007 at 04:16:27PM +0100, Thomas Schmidt
wrote:
> Flavio Curti schrieb:
> > On Fri, Feb 16, 2007 at 03:37:08PM +0100, Thomas
Schmidt wrote:
> >> Flavio Curti schrieb:
> >>> Hello
> >>>
> >>> Is it possible to use groups in
rolevalues?
> >>> For example, I'd like to create a group
"admins":
> >>> Judging from the documentation, it seems
like it would now expect
> >>> "admin" to be a user... How can
I do this?
> >> where would you like to define the members of
that group admins?
> >> At the moment it would be possible to store
them in a databitvalue,
> >> or comma seperated in the rolevalue element.
> >> It is also possible to merge other roles to a
new one by using
> >> <roleref> elements.
> >> Greetings
> > I was thinking to define them in the database
using the user, userGroup, etc.
> > tables, but i figure that's not possible atm...
> The advantage of defining roles inside the workflow
definition is that
> the roles are
> bound to that workflow and its revision.
Hmm, okay, I understand that, but for our use, I'd like to
have a group
"customers" with potentially 100's of users. To
handle the definition
inside the workflow, means we have to deploy the workflow on
every new
customer.
Could I assign the value to the databit from a database
using groovy for
example? Is there a way to access the swamp database
connection from
inside a script?
Thank you and kind regards
Flavio
--
http://no-way.org/~fcu/
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
swamp-devel mailing list
swamp-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net
|
|
| Re: groups in roles? |
  Germany |
2007-02-18 16:11:00 |
Flavio Curti wrote:
> Hello Thomas
>
> On Fri, Feb 16, 2007 at 04:16:27PM +0100, Thomas
Schmidt wrote:
>> Flavio Curti schrieb:
>>> On Fri, Feb 16, 2007 at 03:37:08PM +0100,
Thomas Schmidt wrote:
>>>> Flavio Curti schrieb:
>>>>> Hello
>>>>>
>>>>> Is it possible to use groups in
rolevalues?
>>>>> For example, I'd like to create a group
"admins":
>>>>> Judging from the documentation, it
seems like it would now expect
>>>>> "admin" to be a user... How
can I do this?
>>>> where would you like to define the members
of that group admins?
>>>> At the moment it would be possible to store
them in a databitvalue,
>>>> or comma seperated in the rolevalue
element.
>>>> It is also possible to merge other roles to
a new one by using
>>>> <roleref> elements.
>>>> Greetings
>>> I was thinking to define them in the database
using the user, userGroup, etc.
>>> tables, but i figure that's not possible
atm...
>> The advantage of defining roles inside the workflow
definition is that
>> the roles are
>> bound to that workflow and its revision.
>
> Hmm, okay, I understand that, but for our use, I'd like
to have a group
> "customers" with potentially 100's of users.
To handle the definition
> inside the workflow, means we have to deploy the
workflow on every new
> customer.
>
> Could I assign the value to the databit from a database
using groovy for
> example? Is there a way to access the swamp database
connection from
> inside a script?
Hi, the groovy scripts can contain any code, so it should be
possible to
do database queries. But I think the better way would be to
extend
WorkflowRole.java to be able to handle references to the
database roles.
Greetings
--
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development ::
Internal Tools
"Computers are useless. They can only give you
answers."
Pablo Picasso
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
swamp-devel mailing list
swamp-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net
|
|
[1-6]
|
|