Menu

Assing projects by user

JAC
2021-04-14
2021-04-15
  • JAC

    JAC - 2021-04-14

    hi, is there any possibility to assign some projects to a user at the same time?

    I only can see the possibility to do that entering to each project individualy and after that adding the user as a new member, from project list , editing a project and using the project members option to add a new one to the project.

    The idea is to be able of doing that but from the user point of view , I mean when I'm creating a user have the option to assign him/her to some projects at the same time.

    ex.
    I can do this:
    project1
    add member user1
    project2
    add member user1
    project3
    add member user1

    I cannot do this
    user1
    assign as member of
    project1
    project2
    project3

    Thanks!
    JAC

     
  • Frank Bergmann

    Frank Bergmann - 2021-04-15

    Hi JAC,

    Sorry, this is an uncommon use-case. There is currently no UI for assigning a user to several projects.

    Your options:
    You could write such a portlet yourself. It is not very difficult. Just list the available projects, add check-boxes and write a second page uses im_biz_object_add_role $uid $object_id $role_id. Please see the /intranet-core/www/member-add-2.tcl for an example. I believe somebody from our time would need 2-4 hours for it.
    Checkout the source of im_biz_object_add_role and create a PL/SQL function that you can call manually from psql like a CLI?

    Cheers
    Frank

     

Log in to post a comment.