YunoHost-Apps / paheko_ynh

Paheko package for YunoHost
https://paheko.cloud
GNU Affero General Public License v3.0
3 stars 5 forks source link

[feature] ynh user managment from Paheko #72

Open Thatoo opened 1 month ago

Thatoo commented 1 month ago

I would find it very cool to add an option in config panel to make Paheko be able to create and delete ynh users (yunohost user create PahekoMember) when a member is created. Ideally, it would be nice to be able to select groups this newly ynh created user would automatically join when created.

Moreover, an other option could be added in config panel, the name of a Paheko special member category such as "inactive". When a Paheko member join this special member category, a script would remove the associated ynh user from the groups chosen above and when the Paheko member is removed from this special member category, the associated ynh user would be added again to the groups.

rodinux commented 1 month ago

We don't want to add the yunohost LDAP in the app Paheko at once.

See here the Limitations https://fossil.kd2.org/paheko/wiki?name=Configuration+SSO+et+LDAP

Also an association could have a lot of adhésions, sometime just for a short period...

I don't believe adding the LDAP integration should a good idea...

Thatoo commented 1 month ago

That's not the idea. The idea is to be able to create automaticaly a ynh users when a member is created in Paheko (and delete the ynh user when the member is removed). Connecting to Paheko thanks to LDAP is an other subject and it could be done also for what I understand from the link you mention. In both case, I think it would be nice to give the option in the config panel. Indeed some association might need/like the otpion, others not.