horizon/openstack_dashboard/static/app/core/trunks/actions
Lajos Katona 7b207fbf89 Remove initScope from trunk delete.action.service
The initScope method is deprecated, the action service should be
stateless.

Also refactor to simplify delete action logic. Some code got carried
over from the images panel, what we originally used as an example. But
much of that code was doing checks useless for trunks. Trunks don't have
complicated 'public' and 'shared' attributes controlling who can operate
on them. A simple policy check will suffice.

Co-Authored-By: Bence Romsics <bence.romsics@ericsson.com>
Change-Id: I689a98697d997780af42eb31a4b5eeee2ddf9b0f
Partially-Implements: blueprint neutron-trunk-ui
Related-Bug: #1640049
2017-11-27 14:05:43 +01:00
..
actions.module.js Trunks panel: edit button 2017-11-27 14:05:43 +01:00
actions.module.spec.js Trunks panel: create button 2017-11-27 14:05:43 +01:00
create.action.service.js Trunks panel: create button 2017-11-27 14:05:43 +01:00
create.action.service.spec.js Trunks panel: create button 2017-11-27 14:05:43 +01:00
create.workflow.service.js Trunks panel: create button 2017-11-27 14:05:43 +01:00
delete.action.service.js Remove initScope from trunk delete.action.service 2017-11-27 14:05:43 +01:00
delete.action.service.spec.js Remove initScope from trunk delete.action.service 2017-11-27 14:05:43 +01:00
edit.action.service.js Trunks panel: edit button 2017-11-27 14:05:43 +01:00
edit.action.service.spec.js Trunks panel: edit button 2017-11-27 14:05:43 +01:00
edit.workflow.service.js Trunks panel: edit button 2017-11-27 14:05:43 +01:00
ports-extra.service.js Trunks panel: edit button 2017-11-27 14:05:43 +01:00
ports-extra.service.spec.js Trunks panel: edit button 2017-11-27 14:05:43 +01:00