cfme.configure.access_control module

class cfme.configure.access_control.Group(description=None, role=None)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

create()[source]
delete()[source]
edit_tags(tag, value)[source]
group_form = <cfme.web_ui.Form fields=[('description_txt', <cfme.web_ui.Input _names=('description',), _use_id=False>), ('role_select', {Version ('lowest'): Select("//*[@id='group_role']", multi=False), '5.5': <cfme.web_ui.AngularSelect object at 0x7f4d26f05c50>}), ('group_tenant', <cfme.web_ui.AngularSelect object at 0x7f4d26f5cc10>, set(['appeared_in', '5.5']))]>
pretty_attrs = ['description', 'role']
remove_tag(tag, value)[source]
update(updates)[source]
class cfme.configure.access_control.Role(name=None, vm_restriction=None, product_features=None)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

copy(name=None)[source]
create()[source]
delete()[source]
form = <cfme.web_ui.Form fields=[('name_txt', <cfme.web_ui.Input _names=('name',), _use_id=False>), ('vm_restriction_select', Select("//*[@id='vm_restriction']", multi=False)), ('product_features_tree', <cfme.web_ui.CheckboxTree locator="//div[@id='features_treebox']/ul">)]>
pretty_attrs = ['name', 'product_features']
update(updates)[source]
class cfme.configure.access_control.User(name=None, credential=None, email=None, group=None, cost_center=None, value_assign=None)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

copy()[source]
create()[source]
delete()[source]
description[source]
edit_tags(tag, value)[source]
pretty_attrs = ['name', 'group']
remove_tag(tag, value)[source]
update(updates)[source]
user_form = <cfme.web_ui.Form fields=[('name_txt', <cfme.web_ui.Input _names=('name',), _use_id=False>), ('userid_txt', <cfme.web_ui.Input _names=('userid',), _use_id=False>), ('password_txt', <cfme.web_ui.Input _names=('password',), _use_id=False>), ('password_verify_txt', <cfme.web_ui.Input _names=('password2',), _use_id=False>), ('email_txt', <cfme.web_ui.Input _names=('email',), _use_id=False>), ('user_group_select', Select("//*[@id='chosen_group']", multi=False))]>
cfme.configure.access_control.ac_tree(*path)[source]

DRY function to access the shared level of the accordion tree.

Parameters:*path – Path to click in the tree that follows the ‘[cfme] region xyz’ node
cfme.configure.access_control.get_group_order()[source]
cfme.configure.access_control.server_region()[source]
cfme.configure.access_control.server_region_pair()[source]
cfme.configure.access_control.set_group_order(items)[source]
cfme.configure.access_control.simple_user(userid, password)[source]