[mod] role:owncloud:Einstellungen für öffentliche Freigaben
This commit is contained in:
parent
704012f888
commit
2b18625dd3
4 changed files with 36 additions and 1 deletions
|
@ -14,5 +14,7 @@
|
||||||
"var_owncloud_authentication_data_authelia_android_client_id": "owncloud_android",
|
"var_owncloud_authentication_data_authelia_android_client_id": "owncloud_android",
|
||||||
"var_owncloud_authentication_data_authelia_android_client_secret": "REPLACE_ME",
|
"var_owncloud_authentication_data_authelia_android_client_secret": "REPLACE_ME",
|
||||||
"var_owncloud_authentication_data_authelia_ios_client_id": "owncloud_ios",
|
"var_owncloud_authentication_data_authelia_ios_client_id": "owncloud_ios",
|
||||||
"var_owncloud_authentication_data_authelia_ios_client_secret": "REPLACE_ME"
|
"var_owncloud_authentication_data_authelia_ios_client_secret": "REPLACE_ME",
|
||||||
|
"var_owncloud_public_share_password_necessity": "writable",
|
||||||
|
"var_owncloud_public_share_password_policy_active": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ Cloud-Plattform [ownCloud](https://owncloud.com/) (the rewrite in Go named "Infi
|
||||||
- [ownCloud-Dokumentation | oCIS](https://owncloud.dev/ocis/)
|
- [ownCloud-Dokumentation | oCIS](https://owncloud.dev/ocis/)
|
||||||
- [ownCloud-Dokumentation | Service | Proxy](https://doc.owncloud.com/ocis/next/deployment/services/s-list/proxy.html)
|
- [ownCloud-Dokumentation | Service | Proxy](https://doc.owncloud.com/ocis/next/deployment/services/s-list/proxy.html)
|
||||||
- [ownCloud-Dokumentation | Service | Web](https://doc.owncloud.com/ocis/next/deployment/services/s-list/web.html)
|
- [ownCloud-Dokumentation | Service | Web](https://doc.owncloud.com/ocis/next/deployment/services/s-list/web.html)
|
||||||
|
- [ownCloud-Dokumentation | Service | Sharing](https://doc.owncloud.com/ocis/next/deployment/services/s-list/sharing.html)
|
||||||
- [GitHub | ocis](https://github.com/owncloud/ocis/)
|
- [GitHub | ocis](https://github.com/owncloud/ocis/)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -23,3 +23,22 @@ WEB_OIDC_METADATA_URL="{{var_owncloud_authentication_data_authelia_url_base}}/.w
|
||||||
WEB_OIDC_CLIENT_ID="{{var_owncloud_authentication_data_authelia_web_client_id}}"
|
WEB_OIDC_CLIENT_ID="{{var_owncloud_authentication_data_authelia_web_client_id}}"
|
||||||
WEB_OIDC_SCOPE="openid profile email groups"
|
WEB_OIDC_SCOPE="openid profile email groups"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if var_owncloud_public_share_password_necessity == 'nothing' %}
|
||||||
|
SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD="false"
|
||||||
|
SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD="false"
|
||||||
|
{% endif %}
|
||||||
|
{% if var_owncloud_public_share_password_necessity == 'writable' %}
|
||||||
|
SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD="false"
|
||||||
|
SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD="true"
|
||||||
|
{% endif %}
|
||||||
|
{% if var_owncloud_public_share_password_necessity == 'all' %}
|
||||||
|
SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD="true"
|
||||||
|
SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD="true"
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if var_owncloud_public_share_password_policy_active %}
|
||||||
|
SHARING_PASSWORD_POLICY_DISABLED="false"
|
||||||
|
{% else %}
|
||||||
|
SHARING_PASSWORD_POLICY_DISABLED="true"
|
||||||
|
{% endif %}
|
||||||
|
|
|
@ -66,5 +66,18 @@
|
||||||
"authentication_data_authelia_ios_client_secret": {
|
"authentication_data_authelia_ios_client_secret": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"mandatory": false
|
"mandatory": false
|
||||||
|
},
|
||||||
|
"public_share_password_necessity": {
|
||||||
|
"type": "string",
|
||||||
|
"mandatory": false,
|
||||||
|
"options": [
|
||||||
|
"nothing",
|
||||||
|
"writable",
|
||||||
|
"all"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"public_share_password_policy_active": {
|
||||||
|
"type": "boolean",
|
||||||
|
"mandatory": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue