GLPI 11, allow forms to be visible to subgroups
Closed this issue · 4 comments
Code of Conduct
- I agree to follow this project's Code of Conduct
Contribution description
Hi,
Will it be possible to make a form available for a group and all its children in glpi11?
In the screenshots you can see that at this time when the group HQ is added there are 0 users but when a childgroup is added there suddenly are some available. This would be very helpfull!
screenshot of only group HQ added
screenshot as proof that ICT is child of HQ
screenshot with also group ICT added and now with users matching the criteria
Kind regards
Hello, this should be achievable by enabling the "recursive membership" setting on your group:
Note that the There are 0 user(s) matching these criteria. text will not be accurate in this case because it is based on the search engine and it does not seems to take into account recursive groups (I'll open a dedicated issue).
But when I manually test to access the form with my user inside a recursive group, it works as expected on my side.
If I'm not mistaken, this is the inverse of what I want.
With recursive membership all users who are just in group HQ should also see the form if I make it available to HQ > ICT. While actually I want the users of HQ > ICT to see the forms if they are available to HQ.
I tested this by setting recursive membership to true on all three groups in my example (Brussels, Brussels > HQ and Brussels > HQ > ICT), adding a form with access for Brussels > HQ. And then logging in with an account that is in group Brussels > HQ > ICT. And i cant see the form :/
Thanks for the details, I think I see what you mean.
It seems to be indeed a bug, we'll fix it for the next release.
Thanks in advance!