Give admin permission to updater site
This commit is contained in:
parent
6764a7ad2f
commit
9fd059aef8
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class Site(object):
|
||||||
self.settings["autodownloadoptional"] = True
|
self.settings["autodownloadoptional"] = True
|
||||||
|
|
||||||
# Add admin permissions to homepage
|
# Add admin permissions to homepage
|
||||||
if self.address == config.homepage and "ADMIN" not in self.settings["permissions"]:
|
if self.address in (config.homepage, config.updatesite) and "ADMIN" not in self.settings["permissions"]:
|
||||||
self.settings["permissions"].append("ADMIN")
|
self.settings["permissions"].append("ADMIN")
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue