'ADMIN menu'

def admin(self):

    ADMIN = current.session.s3.system_roles.ADMIN
    settings_messaging = self.settings_messaging()
    return M(restrict=[ADMIN])(M('Settings', c='admin', f='setting')(settings_messaging), M('User    Management', c='admin', f='user')(M('Create    User', m='create'), M('List    All    Users'), M('Import    Users', m='import'), M('List    All    Roles', f='role'), M('List    All    Organization    Approvers    &    Whitelists', f='organisation')), M('Database', c='appadmin', f='index')(M('Raw    Database    access', c='appadmin', f='index')), M('Error    Tickets', c='admin', f='errors'))
