Report deprecated 'yunohost app addaccess'

This commit is contained in:
Alexandre Aubin 2020-12-01 01:25:57 +01:00
parent 035ba260cb
commit 1539c5da74

View file

@ -1331,6 +1331,8 @@ class Script(TestSuite):
yield Critical("'yunohost app initdb' is obsolete!!! Please use 'ynh_mysql_setup_db' instead.") yield Critical("'yunohost app initdb' is obsolete!!! Please use 'ynh_mysql_setup_db' instead.")
if self.contains("yunohost tools port-available"): if self.contains("yunohost tools port-available"):
yield Critical("'yunohost tools port-available is obsolete!!! Please use 'ynh_port_available' instead.") yield Critical("'yunohost tools port-available is obsolete!!! Please use 'ynh_port_available' instead.")
if self.contains("yunohost app addaccess") or self.contains("yunohost app removeaccess"):
yield Warning("'yunohost app addaccess/removeacces' is obsolete. You should use the new permission system to manage accesses.")
if self.contains("yunohost app list -i") or self.contains("yunohost app list --installed"): if self.contains("yunohost app list -i") or self.contains("yunohost app list --installed"):
yield Warning( yield Warning(
"Argument --installed ain't needed anymore when using " "Argument --installed ain't needed anymore when using "