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 0x8f31dd0>, 'update': <function update at 0x47a5c08>, 'policy_rules': (('identity', 'identity:delete_role'),), 'get_success_url': <function get_success_url at 0x47a5c80>, 'get_param_name': <function get_param_name at 0x47a5398>, 'allowed': <function allowed at 0x8f7df50>, 'handle': <function handle at 0x47a5cf8>, 'base_options': {'__module__': 'horizon.tables.actions', '__metaclass__': <class 'horizon.tables.actions.BaseActionMetaClass'>, 'data_type_matched': <function data_type_matched at 0x4463ed8>, 'get_default_classes': <function get_default_classes at 0x47a51b8>, 'update': <function update at 0x47a5140>, 'get_policy_target': <function get_policy_target at 0x4463f50>, '_allowed': <function _allowed at 0x47a50c8>, '__repr__': <function __repr__ at 0x47a52a8>, 'allowed': <function allowed at 0x47a5050>, 'get_default_attrs': <function get_default_attrs at 0x47a5230>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x4463b90>}, '__init__': <function __init__ at 0x47a5d70>, 'name': 'delete', 'data_type_plural': <django.utils.functional.__proxy__ object at 0x612e790>, 'data_type_matched': <function data_type_matched at 0x4463ed8>, 'get_default_classes': <function get_default_classes at 0x47a5ed8>, 'get_policy_target': <function get_policy_target at 0x4463f50>, '_allowed': <function _allowed at 0x47a5aa0>, '_get_action_name': <function _get_action_name at 0x47a5b18>, '__repr__': <function __repr__ at 0x47a52a8>, 'action': <function action at 0x47a5de8>, 'get_default_attrs': <function get_default_attrs at 0x47a5230>, '__doc__': 'Doc missing.', 'delete': <function delete at 0x90c6050>}
-
DeleteRolesAction.data_type_plural = <django.utils.functional.__proxy__ object at 0x612e790>
-
DeleteRolesAction.data_type_singular = <django.utils.functional.__proxy__ object at 0x8f31dd0>
-
DeleteRolesAction.delete(request, obj_id)[source]
-
DeleteRolesAction.policy_rules = (('identity', 'identity:delete_role'),)