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 0x9865e10>, 'update': <function update at 0x4fe69b0>, 'policy_rules': (('identity', 'identity:delete_role'),), 'get_success_url': <function get_success_url at 0x4fe6a28>, 'get_param_name': <function get_param_name at 0x4fbb758>, 'allowed': <function allowed at 0x9c52c08>, 'handle': <function handle at 0x4fe6aa0>, 'base_options': {'__module__': 'horizon.tables.actions', '__metaclass__': <class 'horizon.tables.actions.BaseActionMetaClass'>, 'data_type_matched': <function data_type_matched at 0x4fbbc80>, 'get_default_classes': <function get_default_classes at 0x4fbb9b0>, 'update': <function update at 0x4fbba28>, 'get_policy_target': <function get_policy_target at 0x4fbbb90>, '_allowed': <function _allowed at 0x4fbbcf8>, '__repr__': <function __repr__ at 0x4fbb8c0>, 'allowed': <function allowed at 0x4fbbb18>, 'get_default_attrs': <function get_default_attrs at 0x4fbb320>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x4fbbed8>}, '__init__': <function __init__ at 0x4fe6b18>, 'name': 'delete', 'data_type_plural': <django.utils.functional.__proxy__ object at 0x82b5490>, 'data_type_matched': <function data_type_matched at 0x4fbbc80>, 'get_default_classes': <function get_default_classes at 0x4fe6c80>, 'get_policy_target': <function get_policy_target at 0x4fbbb90>, '_allowed': <function _allowed at 0x4fe6848>, '_get_action_name': <function _get_action_name at 0x4fe68c0>, '__repr__': <function __repr__ at 0x4fbb8c0>, 'action': <function action at 0x4fe6b90>, 'get_default_attrs': <function get_default_attrs at 0x4fbb320>, '__doc__': 'Doc missing.', 'delete': <function delete at 0x9c52c80>}
-
DeleteRolesAction.data_type_plural = <django.utils.functional.__proxy__ object at 0x82b5490>
-
DeleteRolesAction.data_type_singular = <django.utils.functional.__proxy__ object at 0x9865e10>
-
DeleteRolesAction.delete(request, obj_id)[source]
-
DeleteRolesAction.policy_rules = (('identity', 'identity:delete_role'),)