Leaders of groups and roles
Leaders of groups and roles
Hello Fasse
Thank you very much for your work, it is very much appreciated. In our organization we use groups and roles. Gives leaders the ability to assign and edit members.
But, the leaders cannot see the lists with the members. They can choose lists, but all the lists appear blank.
Are we doing something wrong?
Best regards
Nuno
Thank you very much for your work, it is very much appreciated. In our organization we use groups and roles. Gives leaders the ability to assign and edit members.
But, the leaders cannot see the lists with the members. They can choose lists, but all the lists appear blank.
Are we doing something wrong?
Best regards
Nuno
Re: Leaders of groups and roles
Hi Nuno,
could you please provide further informations about your role preferences. What is your setting for view role memberships ?
Best regards
Fasse
could you please provide further informations about your role preferences. What is your setting for view role memberships ?
Best regards
Fasse
Re: Leaders of groups and roles
Hello Fasse
I copy the settings from the demo. There everything works like it should.

Lists view by administrator, here they appear just fine:


Same lists view by leader of this group. Here appear a new column:"groups", and all the other columns disappear:


And, when the leader try to assign members, a error 500 appear.
Thank you Fasse!
I copy the settings from the demo. There everything works like it should.

Lists view by administrator, here they appear just fine:


Same lists view by leader of this group. Here appear a new column:"groups", and all the other columns disappear:


And, when the leader try to assign members, a error 500 appear.
Thank you Fasse!
Re: Leaders of groups and roles
Couldn't view your pictures.
Which PHP-Version do you use?
Which PHP-Version do you use?
Re: Leaders of groups and roles
Hello Fasse
I installed with php 8.0, but I downgrade to 7.4.
In debug mode, when the leader of the group try to assign members, this is the error message:
Nuno
I installed with php 8.0, but I downgrade to 7.4.
In debug mode, when the leader of the group try to assign members, this is the error message:
Best regardsNotice: Undefined index: STREET in /var/www/clients/client1/web1/web/admidio/adm_program/system/classes/ProfileFields.php on line 467
Fatal error: Uncaught Error: Call to a member function getValue() on null in /var/www/clients/client1/web1/web/admidio/adm_program/system/classes/ProfileFields.php:467 Stack trace: #0 /var/www/clients/client1/web1/web/admidio/adm_program/modules/groups-roles/members_assignment.php(277): ProfileFields->isVisible() #1 {main} thrown in /var/www/clients/client1/web1/web/admidio/adm_program/system/classes/ProfileFields.php on line 467
Nuno
Re: Leaders of groups and roles
Could it be that you have removed the profile field "STREET" but still have a list configuration that use that field?
Or does the profile field "STREET" has special rights so that not all users are allowed to view that field?
Or does the profile field "STREET" has special rights so that not all users are allowed to view that field?
Re: Leaders of groups and roles
Hello Fase! Yes, that was it. I had deleted that field. Now the leader can add members.
Thank you very much.
Thank you very much.
Re: Leaders of groups and roles
You have deleted that Field and it still was in the List configuration?
That is also an error of Admidio. Was this the case?
That is also an error of Admidio. Was this the case?
Re: Leaders of groups and roles
Hello fasse,
Yes, I tried it and the error also happens in the demo. If you delete the STREET or COUNTRY from the profile fields of the members (I haven't tried other fields), the group leader when trying to assign a member, the error 500 occurs (in the demo).
When I put these fields back in Admidio, everything goes back to normal.
Thank you!
Best regards
Nuno
Yes, I tried it and the error also happens in the demo. If you delete the STREET or COUNTRY from the profile fields of the members (I haven't tried other fields), the group leader when trying to assign a member, the error 500 occurs (in the demo).
When I put these fields back in Admidio, everything goes back to normal.
Thank you!
Best regards
Nuno
Re: Leaders of groups and roles
Hi Nuno,
with your error discription I found the problem and could fix it.
https://github.com/Admidio/admidio/issues/1317
With the next version 4.1.18 you could delete these fields and leaders could still assign members.
Fasse
with your error discription I found the problem and could fix it.
https://github.com/Admidio/admidio/issues/1317
With the next version 4.1.18 you could delete these fields and leaders could still assign members.
Fasse