Require init_main_permission question for webapps

This commit is contained in:
tituspijean 2023-08-18 17:10:37 +02:00
parent 0dd375db34
commit 15751d3cd2
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -1942,6 +1942,15 @@ class Manifest(TestSuite):
% argument.get("name") % argument.get("name")
) )
elif (
argument.get("name") == "domain"
and not any([a.get("name") == "init_main_permission" for a in args])
):
yield Warning(
"You should add a 'init_main_permission' question to have the app ready to be accessed right after installation."
)
@test() @test()
def resource_consistency(self): def resource_consistency(self):