'Administrator Menu'

@classmethod
def menu_admin(cls, **attr):

    if current.auth.s3_has_role('ADMIN'):
        name_nice = current.deployment_settings.modules['admin'].name_nice
        menu_admin = MM(name_nice, c='admin', right=True, **attr)(MM('Settings', f='setting'), MM('Manage    Users', f='user'), MM('Database', c='appadmin', f='index'), MM('Error    Tickets', f='errors'))
    else:
        menu_admin = None
    return menu_admin
