I have a new Discourse installation V.3.5.0 on a virtual machine with Ubuntu. Standard installation. This is accessible via a public https://discourse.domain.de.
Next to it, I have a Nextcloud installation in a Docker system, which is also publicly accessible. https://cloud.domain.de.
Everything works wonderfully on its own.
Now I would like to give members of certain groups in Discourse the ability to upload files to a folder in Nextcloud, possibly edit them with Onlyoffice, and collect them there.
I would prefer not to create a public link for the Nextcloud folder with a password. While this works, I cannot control who uses the combination of link and password outside the forum.
Furthermore, the use of Onlyoffice is not possible this way.
Creating all Discourse users in Nextcloud as well is too much work.
Additionally, setting up an Authelia instance with its own login interface, group management for Discourse, and database creation is honestly too much work for me.
btw.:
There is a NAS, in whose Docker system I host Redis, Postgresql behind pgbouncer, postfix, Nextcloud, and Onlyoffice and monitor them via clamav. The NAS also hosts the VM with Ubuntu, in which Discourse runs. Everything together is behind an NGINX as a reverse proxy.
Therefore, the question:
How can Nextcloud be used from Discourse?
If you want to authorize users on one website by checking the rights on the other website, you just have to integrate them. It’s a lot of work. I did it once and had to develop an interface using DiscourseConnect. I think this is actually the easiest. A few hours of development. Not sure about how easy it is to plug-in something to NextCloud though, seems to be possible.
אה, לא ידעתי על זה. אבל זה לא מאפשר לך לומר מי יכול לגשת למה, נכון? זה מאפשר לך לאבטח את כל האתר כך שרק משתמשי הפורום יוכלו לראות אותו. אבל כשהם רואים אותו, הם יכולים לראות את כולו.
This way you invite or remove users from the Discourse group to manage the corresponding Nextcloud group. There are some decisions to make regarding user accounts, passwords, etc. This is a quick way to get folks access to an external site from Discourse.
Nice! I’ve always wished for more seamless integration between discourse and nextcloud, which I use for my family site. What I really miss is the ability to easily talk in discourse about files on nextcloud, e.g. a photo or pdf.
I set up single sign on using the social login nextcloud app. This lets me map discourse groups to nextcloud groups to give different classes of people access to different nexcloud folders. If the account doesn’t already exist in nextcloud it is added automatically when they first sign in via my discourse site.
זה הדרך שבחרתי לעצמי כעת. Discourse עם SSO ב"קדמה" ו-Nextcloud והרשאות הקבוצה שם ב"רקע". Nextcloud צריכה להסתדר ללא הרשאות משתמש ממשיות.
אדווח כיצד זה מתקדם. אני אבחן את האפליקציה שוב!
תודה רבה!