web: fix outpost edit/delete buttons
This commit is contained in:
parent
f33369bf0c
commit
a07d7456c8
|
@ -52,13 +52,13 @@ export class OutpostListPage extends TablePage<Outpost> {
|
||||||
})}</ul>`,
|
})}</ul>`,
|
||||||
html`<ak-outpost-health outpostId=${item.pk}></ak-outpost-health>`,
|
html`<ak-outpost-health outpostId=${item.pk}></ak-outpost-health>`,
|
||||||
html`
|
html`
|
||||||
<ak-modal-button href="${Outpost.adminUrl(`${item.pk}/update`)}">
|
<ak-modal-button href="${Outpost.adminUrl(`${item.pk}/update/`)}">
|
||||||
<ak-spinner-button slot="trigger" class="pf-m-secondary">
|
<ak-spinner-button slot="trigger" class="pf-m-secondary">
|
||||||
${gettext("Edit")}
|
${gettext("Edit")}
|
||||||
</ak-spinner-button>
|
</ak-spinner-button>
|
||||||
<div slot="modal"></div>
|
<div slot="modal"></div>
|
||||||
</ak-modal-button>
|
</ak-modal-button>
|
||||||
<ak-modal-button href="${Outpost.adminUrl(`${item.pk}/delete`)}">
|
<ak-modal-button href="${Outpost.adminUrl(`${item.pk}/delete/`)}">
|
||||||
<ak-spinner-button slot="trigger" class="pf-m-danger">
|
<ak-spinner-button slot="trigger" class="pf-m-danger">
|
||||||
${gettext("Delete")}
|
${gettext("Delete")}
|
||||||
</ak-spinner-button>
|
</ak-spinner-button>
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
title: Next release
|
||||||
|
---
|
||||||
|
|
||||||
|
## Headline Changes
|
||||||
|
|
||||||
|
- Simplify role-based access
|
||||||
|
|
||||||
|
Instead of having to create a Group Membership policy for every group you want to use, you can now select a Group and even a User directly in a binding.
|
||||||
|
|
||||||
|
When a group is selected, the binding behaves the same as if a Group Membership policy exists.
|
||||||
|
|
||||||
|
When a user is selected, the binding checks the user of the request, and denies the request when the user doesn't match.
|
||||||
|
|
Reference in New Issue