Assign user to multiple nodes

Questions about the backend functionalities: configuration, user management, course management, ...
Post Reply
jeffgtr
Newbie
Posts: 12
Joined: Tue Aug 27, 2013 1:00 am

Assign user to multiple nodes

Post by jeffgtr » Tue Aug 21, 2018 6:40 pm

I have a situation where I need to assign the same user to multiple nodes. I can't find anything in the documentation that addresses this. Can someone point me in the right direction?

User avatar
max
FormaLms Guru
Posts: 1738
Joined: Thu Mar 01, 2012 10:41 am

Re: Assign user to multiple nodes

Post by max » Tue Aug 21, 2018 6:54 pm

You can assign users to any node you want by clicking on the "assign user" button
Cattura.JPG
In Forma 1.X you can assign users to multiple nodes by default

In Forma 2, only if the specific option in settings>user is turned off
You do not have the required permissions to view the files attached to this post.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
http://www.elearnit.net
http://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
http://elearnit.wordpress.com
Skype: m_ferrari_it

jeffgtr
Newbie
Posts: 12
Joined: Tue Aug 27, 2013 1:00 am

Re: Assign user to multiple nodes

Post by jeffgtr » Tue Aug 21, 2018 7:20 pm

I'm on Forma 2. When I go to Settings/config.sys/User (under "other options") the only option I see that looks like it might be correct is "orgchart singlenode" it is currently unchecked. When we try to assign and existing user to another node we get "user already assigned error"

User avatar
max
FormaLms Guru
Posts: 1738
Joined: Thu Mar 01, 2012 10:41 am

Re: Assign user to multiple nodes

Post by max » Tue Aug 21, 2018 7:53 pm

You're right.
It's a bug, I opened it in our bugtracker, to fix it for the next release.
In the meanwhile you could maybe use groups, for your need?
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
http://www.elearnit.net
http://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
http://elearnit.wordpress.com
Skype: m_ferrari_it

alfa24
FormaLms Expert
Posts: 144
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Assign user to multiple nodes

Post by alfa24 » Thu Aug 23, 2018 1:19 pm

in /appCore/controllers/UsermanagementAdmController.php

search for:

Code: Select all

$singlenode = Get::sett('orgchart_singlenode', '');
				if ($singlenode){ 
and replace it with:

Code: Select all

if (Get::sett('orgchart_singlenode', 'off' == 'on')){
I'm Jasmines, the One

CisterNino
FormaLms User
Posts: 37
Joined: Mon May 06, 2013 2:59 pm

Re: Assign user to multiple nodes

Post by CisterNino » Tue Sep 04, 2018 3:29 pm

Indeed there's a little mistake in alfa24 suggestion:

The right instruction to use is:
if ( Get::sett('orgchart_singlenode', 'off') == 'on' ){

Post Reply