FixABug task workflow with LDAP authorization

2 views
Skip to first unread message

Aleksandar Vidakovic

unread,
Aug 28, 2009, 4:06:11 PM8/28/09
to EmForge
Salut all,

now that the whole OpenLDAP thing is working quite fine I saw that it
is not possible to create a task with FixABug workflow. My guess is
that this is due to the user service implementation.

When I tested EmForge in the default configuration I could create this
type of task and I think I remember a field (combobox) "Assign to" at
the bottom which does not appear when the whole thing is configured
with LDAP. Probably the implementation for listing the users is
missing...

Is this true? Would be nice if someone could shed some light on this,
because the logs don't deliver any significant info... at least I
didn't see it.

Thanks in advance and cheers,

Aleks

Alexey Kakunin

unread,
Aug 28, 2009, 4:37:57 PM8/28/09
to emf...@googlegroups.com
Aleks, hi again!
About FixABug - as far as I remember, AssignTo required only on step to "Assign Bug" - then manager should assign bug to somebody - but it is not a fisrt step (create bug)?

In any case - all tasks in EmForge should be linked to some project. So, you should have at least one project in System.

Then - all assignment in EmForge done accodring to roles in this specific project. For example - then Bug is created and confirmed by tester - it should be assigned to some Developer. So, only person with Role Developer (again - it is project specific role - same user may have several roles in one project as well as many different roles in several projects).

All project-specific roles are stored in EmForge DB and should not have any issues connected to LDAP.

To assign role to some user you need open Project page and click on "Roles" link
There - select specific Role (or add new), enter user-name (as soon as correct name will be entered "user" sign will be displayed near from input-box) - and assign him to role.

Unfortunatelly, selecting user from list is not implemented (exactly because it is not always easy to get all users from LDAP).

Hope it will help - feel free to ask any more questions!

2009/8/29 Aleksandar Vidakovic <aleksandar...@gmail.com>



--
With Best Regards,
Alexey Kakunin, EmDev Limited

Professional Software Development:
http://www.emdev.ru

Aleksandar Vidakovic

unread,
Aug 28, 2009, 4:43:01 PM8/28/09
to emf...@googlegroups.com
Salut Alexey,

thanks for the fast reply. I will test this again... I am pretty sure
that I missed something. Will take your hints and see what I did wrong.

Cheers,

Aleks

Alexey Kakunin wrote:
> Aleks, hi again!
> About FixABug - as far as I remember, AssignTo required only on step
> to "Assign Bug" - then manager should assign bug to somebody - but it
> is not a fisrt step (create bug)?
>
> In any case - all tasks in EmForge should be linked to some project.
> So, you should have at least one project in System.
>
> Then - all assignment in EmForge done accodring to roles in this
> specific project. For example - then Bug is created and confirmed by
> tester - it should be assigned to some Developer. So, only person with
> Role Developer (again - it is project specific role - same user may
> have several roles in one project as well as many different roles in
> several projects).
>
> All project-specific roles are stored in EmForge DB and should not
> have any issues connected to LDAP.
>
> To assign role to some user you need open Project page and click on
> "Roles" link
> There - select specific Role (or add new), enter user-name (as soon as
> correct name will be entered "user" sign will be displayed near from
> input-box) - and assign him to role.
>
> Unfortunatelly, selecting user from list is not implemented (exactly
> because it is not always easy to get all users from LDAP).
>
> Hope it will help - feel free to ask any more questions!
>
> 2009/8/29 Aleksandar Vidakovic <aleksandar...@gmail.com
> <mailto:aleksandar...@gmail.com>>

Aleksandar Vidakovic

unread,
Aug 28, 2009, 5:04:25 PM8/28/09
to emf...@googlegroups.com
Ok... I knew that I was doing something stupid. I simply forgot to fill
out the required fields... obey the asterisks... obey the asterisks...

;-)

Alexey Kakunin wrote:
> Aleks, hi again!
> About FixABug - as far as I remember, AssignTo required only on step
> to "Assign Bug" - then manager should assign bug to somebody - but it
> is not a fisrt step (create bug)?
>
> In any case - all tasks in EmForge should be linked to some project.
> So, you should have at least one project in System.
>
> Then - all assignment in EmForge done accodring to roles in this
> specific project. For example - then Bug is created and confirmed by
> tester - it should be assigned to some Developer. So, only person with
> Role Developer (again - it is project specific role - same user may
> have several roles in one project as well as many different roles in
> several projects).
>
> All project-specific roles are stored in EmForge DB and should not
> have any issues connected to LDAP.
>
> To assign role to some user you need open Project page and click on
> "Roles" link
> There - select specific Role (or add new), enter user-name (as soon as
> correct name will be entered "user" sign will be displayed near from
> input-box) - and assign him to role.
>
> Unfortunatelly, selecting user from list is not implemented (exactly
> because it is not always easy to get all users from LDAP).
>
> Hope it will help - feel free to ask any more questions!
>
> 2009/8/29 Aleksandar Vidakovic <aleksandar...@gmail.com
> <mailto:aleksandar...@gmail.com>>

Alexey Kakunin

unread,
Aug 28, 2009, 5:08:38 PM8/28/09
to emf...@googlegroups.com
Haha! if you like - you can remove required flag from these fields in workflow definition - and will able to create bug without them

2009/8/29 Aleksandar Vidakovic <aleksandar...@gmail.com>

Aleksandar Vidakovic

unread,
Aug 28, 2009, 5:12:55 PM8/28/09
to emf...@googlegroups.com
Perfect... that's the next step... deploying own workflows... this is
really awesome...

I might look into the user assignment thing one of these days and see
what I can do there.

But for the moment I am really happy with this.

BTW: will post a comment in the wiki concerning the small change to make
things working with OpenLDAP. Have it working here and it's fairly easy
to add without any major changes.

Alexey Kakunin wrote:
> Haha! if you like - you can remove required flag from these fields in
> workflow definition - and will able to create bug without them
>
> 2009/8/29 Aleksandar Vidakovic <aleksandar...@gmail.com
> <mailto:aleksandar...@gmail.com>>
> > <mailto:aleksandar...@gmail.com
Reply all
Reply to author
Forward
0 new messages