Bases: horizon.tables.actions.DeleteAction
-
DeleteRolesAction.allowed(request, role)[source]
-
DeleteRolesAction.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.roles.tables', '__metaclass__': <class 'horizon.tables.actions.BaseActionMetaClass'>, 'data_type_singular': <django.utils.functional.__proxy__ object at 0x7982bd0>, 'update': <function update at 0x48f7668>, 'policy_rules': (('identity', 'identity:delete_role'),), 'get_success_url': <function get_success_url at 0x48f7b18>, 'get_param_name': <function get_param_name at 0x48f6c80>, 'allowed': <function allowed at 0x8f55230>, 'handle': <function handle at 0x48f7488>, 'base_options': {'__module__': 'horizon.tables.actions', '__metaclass__': <class 'horizon.tables.actions.BaseActionMetaClass'>, 'data_type_matched': <function data_type_matched at 0x48f69b0>, 'get_default_classes': <function get_default_classes at 0x48f6a28>, 'update': <function update at 0x48f6938>, 'get_policy_target': <function get_policy_target at 0x48f6230>, '_allowed': <function _allowed at 0x48f6aa0>, '__repr__': <function __repr__ at 0x48f6c08>, 'allowed': <function allowed at 0x48f67d0>, 'get_default_attrs': <function get_default_attrs at 0x48f61b8>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x48f6e60>}, '__init__': <function __init__ at 0x48f7140>, 'name': 'delete', 'data_type_plural': <django.utils.functional.__proxy__ object at 0x7982a50>, 'data_type_matched': <function data_type_matched at 0x48f69b0>, 'get_default_classes': <function get_default_classes at 0x48f7f50>, 'get_policy_target': <function get_policy_target at 0x48f6230>, '_allowed': <function _allowed at 0x48f72a8>, '_get_action_name': <function _get_action_name at 0x48f70c8>, '__repr__': <function __repr__ at 0x48f6c08>, 'action': <function action at 0x48f7230>, 'get_default_attrs': <function get_default_attrs at 0x48f61b8>, '__doc__': 'Doc missing.', 'delete': <function delete at 0x9405758>}
-
DeleteRolesAction.data_type_plural = <django.utils.functional.__proxy__ object at 0x7982a50>
-
DeleteRolesAction.data_type_singular = <django.utils.functional.__proxy__ object at 0x7982bd0>
-
DeleteRolesAction.delete(request, obj_id)[source]
-
DeleteRolesAction.policy_rules = (('identity', 'identity:delete_role'),)