mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
set_legacy_permission
to report a warning instead of info
This commit is contained in:
parent
f3147fae35
commit
e1cbc527dc
1 changed files with 1 additions and 1 deletions
|
@ -1492,7 +1492,7 @@ class Script(TestSuite):
|
||||||
@test()
|
@test()
|
||||||
def set_legacy_permissions(self):
|
def set_legacy_permissions(self):
|
||||||
if self.containsregex(r'ynh_app_setting_set .*protected_') or self.containsregex(r'ynh_app_setting_set .*skipped_'):
|
if self.containsregex(r'ynh_app_setting_set .*protected_') or self.containsregex(r'ynh_app_setting_set .*skipped_'):
|
||||||
yield Info("permission system: it looks like the app is still using the legacy permission system (unprotected/protected/skipped uris/regexes setting). Please check https://yunohost.org/packaging_apps_permissions for a documentation on how to migrate the app to the new permission system.")
|
yield Warning("permission system: it looks like the app is still using the legacy permission system (unprotected/protected/skipped uris/regexes setting). Please check https://yunohost.org/packaging_apps_permissions for a documentation on how to migrate the app to the new permission system.")
|
||||||
|
|
||||||
@test()
|
@test()
|
||||||
def normalize_url_path(self):
|
def normalize_url_path(self):
|
||||||
|
|
Loading…
Reference in a new issue