Merge branch 'stretch-testing' into stretch-unstable

This commit is contained in:
Alexandre Aubin 2019-12-02 20:46:28 +01:00
commit 81795d0d0d
2 changed files with 9 additions and 1 deletions

8
debian/changelog vendored
View file

@ -1,3 +1,11 @@
yunohost (3.7.0.4) testing; urgency=low
- [fix] Also add all_users when allowing visitors (#855)
- [fix] Fix handling of skipped_uris (c.f. also SSOwat#149)
- [i18n] Improve translations for Catalan
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 2 Dev 2019 20:44:00 +0000
yunohost (3.7.0.3) testing; urgency=low
- [mod] Some refactoring for permissions create/update/reset (#837)

View file

@ -119,7 +119,7 @@ class MyMigration(Migration):
# Migrate classic public app still using the legacy unprotected_uris
if app_setting(app, "unprotected_uris") == "/" or app_setting(app, "skipped_uris") == "/":
user_permission_update(app+".main", remove="all_users", add="visitors", sync_perm=False)
user_permission_update(app+".main", add="visitors", sync_perm=False)
permission_sync_to_user()