Setting tag plcapi-5.2-10
[plcapi.git] / PLC / Accessors / Accessors_vicci.py
1 # Accessors for Vicci, used to toggle between Vicci simplified UI and full planetlab UI
2
3 from PLC.Persons import Person
4
5 from PLC.Accessors.Factory import define_accessors, admin_roles, all_roles, tech_roles
6
7 import sys
8 current_module = sys.modules[__name__]
9
10 define_accessors(current_module, Person, "Advanced", "advanced",
11                   "person/vicci", "advanced mode",
12                   get_roles=all_roles, set_roles=all_roles, expose_in_api=True)
13