[Acloud] Check if user has access to the project on start
Cherry-pick cl/148795271
TEST: Manually test the google3 version. can't test the android tree
version untill b/35918788 is fixed
BUG:32411892
Change-Id: I8920db33f82d035218ef608962849628bbc8d9eb
diff --git a/public/config.py b/public/config.py
index ebc2927..a423c01 100755
--- a/public/config.py
+++ b/public/config.py
@@ -105,6 +105,9 @@
for device, orientation in
internal_cfg.device_default_orientation_map.iteritems()
}
+ self.no_project_access_msg_map = {
+ project: msg for project, msg
+ in internal_cfg.no_project_access_msg_map.iteritems()}
self.min_machine_size = internal_cfg.min_machine_size
self.disk_image_name = internal_cfg.disk_image_name
self.disk_image_mime_type = internal_cfg.disk_image_mime_type