ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Creating a list of authorized users for transferring

Post new topic  Reply to topic
 Creating a list of authorized users for transferring « View previous topic :: View next topic » 
Author Message
ALococo
PostPosted: Fri Oct 15, 2004 6:36 am    Post subject: Creating a list of authorized users for transferring Reply with quote

Newbie

Joined: 08 Sep 2003
Posts: 6

When transferring a workitem(s) to a user, I would like to populate a dropdown list of users. This list of users should only be filled with users that are allowed to work this particular workitem.

So what I am thinking is that I can get a list of users that this person is "authorized for". From this list, I would like to try and get authorization information for each user that will help me determine if they are allowed to work this workitem or not.

Is this possible given the limited person api? If not, are there other techniques used to accomplish this? Is there a better or easier way to accomplish this?
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Oct 15, 2004 8:02 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Not sure I understand the question.... If they are in the persons authorized for, then as far as MQWF is concerned they are allowed to work the item.

Maybe I am misunderstanding the question
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ALococo
PostPosted: Fri Oct 15, 2004 10:52 am    Post subject: Reply with quote

Newbie

Joined: 08 Sep 2003
Posts: 6

The "personAuthorizedFor" method will return a list of users that the person doing the transfer is allowed to transfer to. But, the workitem I want to transfer to them, isn't a workitem they are allowed to work.

Let me give an example. I have 2 activities setup to assign any workitems in the activity to a virtual user. Activity 1 is setup to assign workitems to "virtual user 1" and activity 2 is setup to assign workitems to "virtual user 2".

I have a user that can see the worklists of "virtual user 1", but not "virtual user 2". I do not allow them to see "virtual user 2" work because this user does not know how to work the workitems that are in this activity.

WF will allow me to transfer a workitem, that is assigned to "virtual user 2", to the user even though they are not authorized to view this virtual user's worklist.

I need to construct a way to remove this user from the list of valid users based on where a workitem is, in the flow, and the authorizations of the user I am transferring to.
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Oct 15, 2004 11:40 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

ALococo wrote:
WF will allow me to transfer a workitem, that is assigned to "virtual user 2", to the user even though they are not authorized to view this virtual user's worklist.


Are you saying that U1 is authorized to only VU1 and U2 is Authorized to only VU2 and MQWF is allowing you to transfer to/from U1 and VU2?

Again, unless I am misunderstanding something, what you are saying should not be possible.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ALococo
PostPosted: Fri Oct 15, 2004 11:50 am    Post subject: Reply with quote

Newbie

Joined: 08 Sep 2003
Posts: 6

Yes.....that's exactly what I'm saying. So I need to be able to filter the list of users based on their authorizations and where the current workitem resides in the flow.

I don't want the user to show up in a drop down list as available users if the workitem I want to transfer to them is assigned to a virtual user that this user is not authorized for.
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Oct 15, 2004 12:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

ALococo wrote:
Yes.....that's exactly what I'm saying.


I think you need to investigate why that is possible. If you truly have U1 authorized to only VU1 and U2 authorized to only VU2 and you can do transfers to/from VU2 and U1 and VU1 and U2, then there is a bug. Is it possible that your authorizations is not what you think? Can you post your Person fdl?

Or then again, maybe I am still confused.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Creating a list of authorized users for transferring
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.