workflow: admin & p_user always have access
This commit is contained in:
parent
1c958c226a
commit
83b640286d
|
@ -12,10 +12,14 @@
|
||||||
{
|
{
|
||||||
name: "Admin",
|
name: "Admin",
|
||||||
key: "ADMIN",
|
key: "ADMIN",
|
||||||
|
canExecute: true,
|
||||||
|
editable: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Power User",
|
name: "Power User",
|
||||||
key: "POWER_USER",
|
key: "POWER_USER",
|
||||||
|
canExecute: true,
|
||||||
|
editable: false,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -123,10 +127,10 @@
|
||||||
<div class="config-item">
|
<div class="config-item">
|
||||||
<label class="uk-form-label">User Access</label>
|
<label class="uk-form-label">User Access</label>
|
||||||
<div class="access-levels">
|
<div class="access-levels">
|
||||||
{#each ACCESS_LEVELS as { name, key }}
|
{#each ACCESS_LEVELS as level}
|
||||||
<span class="access-level">
|
<span class="access-level">
|
||||||
<label>{name}</label>
|
<label>{level.name}</label>
|
||||||
<input class="uk-checkbox" type="checkbox" />
|
<input class="uk-checkbox" type="checkbox" disabled={!level.editable} bind:checked={level.canExecute}/>
|
||||||
</span>
|
</span>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue