Hardware: VPS with AMD EPYC 7282 16-Core Processor and 8Gb RAM
YunoHost version: 11.2.5
I have access to my server : Through SSH, through the webadmin.
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Hi, and thanks to all the maintainers of Yunohost - I’ve been using it for a few years for home projects, and it works great.
In my current use case, I am managing an NGO, where we want to allow our members to participate in courses and complete Moodle tests. The challenge here is user management: I’d like to use Yunohost as a central LDAP point, and sometimes, we need to give temporal access to our apps to specific users. It would be okay to issue and remove access manually, but sometimes it’s dozens or hundreds of users, so it’s not the best scenario. I thought that we might use something like WordPress membership plugins, where users are assigned to certain roles/groups for some time and then moved to another role after expiration.
Now, the problem is: user sync works well if we import users to Yunohost (the users are then displayed in WordPress), but not vice versa, i.e., if users register in WordPress, they can’t access Yunohost apps as their account is not created there. I tried to figure out if that’s the intended behavior or some error, but logs (yunohost-api.log and yunohost-cli.log) don’t seem to react at all when a new user registers in WordPress.
Hence, I suppose one of the following:
- such a feature doesn’t really exist;
- I must setup authLDAP plugin in WordPress in a specific way to make it work;
- Relevant information is mentioned somewhere in manuals, but I failed to find it.
In any case, I’d be thankful to get your feedback or maybe tips on how people do such a thing (registration and assignment of user Yunohost accounts to groups for a limited time), e.g., maybe there’s an app that can do that and in power to modify Yunohost accounts.