Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiuser möglich #21

Open
Wolf6660 opened this issue Feb 15, 2022 · 3 comments
Open

Multiuser möglich #21

Wolf6660 opened this issue Feb 15, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Wolf6660
Copy link

Hi,

ist es möglich mehrere User anzulegen?
Ich habe mehrere SubDomains die von verschiedenen Leuten aktualisiert werden. Natürlich könnte ich immer die gleichen Daten nehmen und nur die Subdomain in den Zugangsdaten anpassen, aber vielleicht geht es auch mit mehreren Zugangsdaten.

z.B.
User1, Paswort1 und die Subdomain
User2, Passwort2 und die Subdomain
...
...
...

Wenn nicht ist auch nicht schlimm ich dachte ich frag mal nach bevor ich beginne und es am Schluss doch funktioniert.

Danke für die Arbeit

@fernwerker
Copy link
Owner

Ne, so ein Festure ist aktuell nicht verfügbar.

Pull requests highly welcome. ;-)

@fernwerker fernwerker added the enhancement New feature or request label Feb 15, 2022
@NiiWiiCamo
Copy link

NiiWiiCamo commented Aug 22, 2023

Ich habe das Feature für mich damit gelöst dass ich die Scripts einfach in mehreren Ordnern bereitstelle und jeweils unterschiedliche .env Dateien nutze. Dadurch lässt sich zwar nicht einschränken wer welche Einträge updated, aber es lassen sich zumindest separate Credentials ausrollen.
Kommt ggf. in einem separaten Update von mir dazu.

EN: Currently multi user is not supported natively, personally I solved this by just copying the scripts to multiple subfolders with different .env files. This does not restrict which domain can be updated by a given user but at least it allows multiple credentials to be deployed.
Might be added in a future update by me.


/var/www/dyndns.example.com/

  • acme/
    • .env
    • src/
      • Config.php
      • Handler.php
      • Payload.php
      • Soap.php
    • update.php
  • fritzbox/
    • .env
    • src/
      • Config.php
      • Handler.php
      • Payload.php
      • Soap.php
    • update.php

URLs:

@NiiWiiCamo
Copy link

NiiWiiCamo commented Aug 23, 2023

Feature in meinem testing-multisite PR vorhanden.
.env hat da die Möglichkeit restrictDomain=true und domain=subdomain.example.com zu setzen.
Dann werden die mitgegebenen Parameter ignoriert.
Auch ist die update.php im Beispielordner "mydomain" angepasst, sodass der "src" Ordner nur im übergeordneten Ordner vorhanden sein muss. Pro "domain" Ordner muss eine .env und die angepasste update.php vorhanden sein.
#27

.
├── fritzbox
│   ├── .env
│   └── update.php
├── nas
│   ├── .env
│   └── update.php
├── src
│   ├── Config.php
│   ├── Handler.php
│   ├── Payload.php
│   └── Soap.php
├── sub2
│   ├── .env
│   └── update.php
└── subdomain1
├── .env
└── update.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants